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: 

Updates are going as insert in a databricks job

sashikanth
New Contributor II

There is no code change in a databricks job or notebook but we have observed the malfunction in cdc. The records which are meant for updates are going for inserts and causing duplicacy. At the sametime we had make sure the PKs based on which merge runs are same. Note this is a streaming job from a delta table.

This does not happen very frequently but the malfunction is occuring.

Please let us know incase if anyone has come across this situation and how did we overcome.

2 REPLIES 2

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @sashikanth,

I would recommend opening a case with us further investigate this behavior since this requires a code logic review and additional checks.

Please refer to:

https://docs.databricks.com/en/resources/support.html

Case has been submitted - #00576955 

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