Capture Deletes
Examples of using Sling to capture deleted records during incremental loads
Hard Delete
source: MY_POSTGRES
target: MY_SNOWFLAKE
defaults:
mode: incremental
update_key: updated_at
primary_key: id # primary key is required for delete_missing
streams:
finance.accounts:
object: finance.accounts_target
target_options:
delete_missing: hard # will remove records that don't exist in sourceSoft Delete
Scoped Delete with WHERE Clauses
Important Notes
Last updated
Was this helpful?