Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
bcdobbs
Super User
Super User

Dataflows Gen2 - Delta Table Overwrite Issue

Hi,

I have really odd issue...

 

I have an gen2 dataflow that copies a csv file from an on prem location into a delta table. It's set to overwrite and in general apepars to work fine. (Would prefer to be able to do that direct in data factory but it can't read on prem yet).

 

If I query it with the sql endpoint, it gives the expected data that matches the source csv:

bcdobbs_0-1702472222044.png

 

If I read it into a spark dataframe, though I get old versions of the same records displaying:

bcdobbs_1-1702472514356.png

The problem is I'm then using that dataframe to create what should be a unique dimenion.

 

I've tried specificying the latest timetravel version explicitly and it still does the same.

 

Only thing I can think is there is some oddity in the delta meta data being written by dataflows.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
2 REPLIES 2
bcdobbs
Super User
Super User

Thanks @Joshrodgers123 at least that makes me feel like I'm not doing something silly!



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Joshrodgers123
Advocate V
Advocate V

I have the same issue, but reversed. I have a dataflow writing to a lakehouse. If I read the data in a notebook, I can see the correct and latest data. If I read the data through the SQL Endpoint (or even the table preview in the lakehouse), it shows an older version of the delta table. 

 

I opened a support ticket (2312050040012594) and they are investigating. They said it was a sync issue. 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugFabric_Carousel

Fabric Monthly Update - August 2024

Check out the August 2024 Fabric update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.