How to differentiate Updated and Deleted data in Adf CDC?

Franklin John 25 Reputation points
2023-08-15T19:38:34.0533333+00:00

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

User's image

User's image

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,706 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Sina Salam 10,726 Reputation points
    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


  2. Daniel G Perico S 0 Reputation points
    2024-04-09T00:55:35.5933333+00:00

    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 🥲

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.