cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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