You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently source-sqlserver doesn't capture row preimages at all when processing a CDC row update. This isn't as big a deal as you'd expect, but at some point somebody will probably want to capture before-state values as well.
This is done in SQL Server by specifying the all update old row filter option on the cdc.fn_cdc_get_all_changes_<instance> function instead of all like we currently specify, and adding some handling for __$operation values of 3 (which indicate an update preimage) to buffer them and combine with the subsequent postimage row.
We have similar logic for another connector, I think maybe Snowflake? It's not especially complicated, at least if we can assume that each preimage is immediately followed by the corresponding postimage.
The text was updated successfully, but these errors were encountered:
Currently
source-sqlserver
doesn't capture row preimages at all when processing a CDC row update. This isn't as big a deal as you'd expect, but at some point somebody will probably want to capture before-state values as well.This is done in SQL Server by specifying the
all update old
row filter option on thecdc.fn_cdc_get_all_changes_<instance>
function instead ofall
like we currently specify, and adding some handling for__$operation
values of 3 (which indicate an update preimage) to buffer them and combine with the subsequent postimage row.We have similar logic for another connector, I think maybe Snowflake? It's not especially complicated, at least if we can assume that each preimage is immediately followed by the corresponding postimage.
The text was updated successfully, but these errors were encountered: