cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Delta Table Merge Operation logs Output is not correct number of updated records?

Vaibhav_552636
New Contributor II

initial delta tableupdated_source_tables for mergemerger statmentHi all,

I am performing merge operation on my delta table in spark. I have existing delta table , it already has some records. Now I created another dataframe of csv file, and added one new record and updated one records in that. Please check below snip.

(df_source) is the updated table(temp view)

Now after performing merge operation. The logs generated here are not correct in updated records it shows 3 records updated i have updated only one record. for inserted it shows correctly i have issue with update why it is updating all the records.

Can you please help me to understand what's happening behind the scenes.

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group