Change Feed in Synapse Link for SQL Server 2022 – Getting change data as CSV file without header and starting with 4 meta data columns
I'm using Azure Synapse Link with SQL Server 2022 (on-premises), and my change data is being stored in ADLS Gen2 as CSV files. I’ve observed that the first four columns in the CSV files contain metadata, but I couldn't find clear documentation explaining their purpose.
I need to:
- Merge the full data Parquet files with the change data CSV files
Convert the merged data into a Delta table
However, I'm unclear on the following:
What do the first four metadata columns in the CSV files represent?
Where can I find the operation type (e.g., insert, update, delete) in the change data?
I've reviewed most of the Microsoft documentation but couldn't find specific information about these metadata columns or how to interpret the operation type.