Right now I'm having the same problem. Performing, INSERT or DELETE operations creates similar files on the blob storage so I can't know which operatios was performed on each row 🥲
How to differentiate Updated and Deleted data in Adf CDC?
Currently, we integrated Azure data factory CDC, Our source system is the SQL server destination is the storage account.
we updated and deleted data in the source system. In both cases, it created files in a storage account but both the files look similar,
so how to differentiate which one is deleted and which one is updated? Even if opened both look similar. Please advise as to how to handle this
Azure Data Factory
2 answers
Sort by: Most helpful
-
-
Sina Salam 27,791 Reputation points Volunteer Moderator
2023-08-16T05:55:02.89+00:00 Hello @Franklin John ,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
To understand your question, you would like to know how to differentiate which data is deleted and which data is updated in your ADF.
The cause is on your second screenshot. "The CDC is not running!"
When you enable native change data capture CDC or auto incremental extraction options in ADF mapping data flow, you will be able to identify the differences between the deleted and updated data.
Native change data capture is always recommended as the simplest way for you to get change data.
You can read more about change data capture in the following link.:
Change data capture in Azure Data Factory and Azure Synapse Analytics.
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.
Best Regards,
Sina Salam