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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Shanshan533
New Member

Issue with Delta Table Write in notebook

After writing to the Delta table, I noticed the data changed unexpectedly (see pictures below). I verified that the dataframe was correct before writing. Here’s the code used in the notebook:

 

 

df.write.format("delta").mode("overwrite").saveAsTable("properties")

 

 

 

 

Original dataframe Before Write:

591728648822_.pic.jpg

Delta Table After Write:

611728649097_.pic.jpg

 

 

2 ACCEPTED SOLUTIONS
frithjof_v
Community Champion
Community Champion

Perhaps this is just because of the sorting order of the rows in the table?

 

You can try to query the table and see if you find the rows.

View solution in original post

v-huijiey-msft
Community Support
Community Support

Hi @Shanshan533 ,

 

Thanks for the reply from frithjof_v .

 

Is my follow-up just to ask if the problem has been solved?

 

If so, can you accept the correct answer as a solution or share your solution to help other members find it faster?

 

Thank you very much for your cooperation!

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

2 REPLIES 2
v-huijiey-msft
Community Support
Community Support

Hi @Shanshan533 ,

 

Thanks for the reply from frithjof_v .

 

Is my follow-up just to ask if the problem has been solved?

 

If so, can you accept the correct answer as a solution or share your solution to help other members find it faster?

 

Thank you very much for your cooperation!

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

frithjof_v
Community Champion
Community Champion

Perhaps this is just because of the sorting order of the rows in the table?

 

You can try to query the table and see if you find the rows.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.