<@U04S8PLJWMT> using WAL on postgres to snowflake,...
# ask-ai
b
@kapa.ai using WAL on postgres to snowflake, how are source hard deletes handle when doing incremental | append + deduped?
k
Short answer: with Postgres CDC (WAL) to Snowflake using Incremental | Append + Deduped, hard deletes from the source are propagated to the destination, i.e., deleted records are removed (or flagged appropriately) during de-duplication, unlike non-CDC incremental where deletes aren’t handled. This is the expected behavior for CDC-enabled sources; non-CDC incremental modes won’t delete rows in the destination. (["Incremental + Deduped" overview](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/incremental-append-deduped)). Details and caveats: - Airbyte only propagates deletes when the source emits delete events (e.g., database CDC like Postgres WAL). Non-CDC incremental syncs do not track deletes and won’t remove rows; you’d need CDC or full refresh overwrite to mirror deletes (forum guidance) ([Sync of deleted records](https://discuss.airbyte.io/t/372), [Tutorial note on incremental limitations](https://airbyte.com/tutorials/incremental-data-synchronization#step-7)). - Historical issues/bugs have existed in specific versions/connectors where deletes didn’t reach final tables or were missing; if you see missing deletions, check connector versions and known issues, and consider upgrading (examples: PG→Redshift bug, Postgres CDC delete issues) ([PG>Redshift CDC deletes not applied](https://discuss.airbyte.io/t/917), [Missing deletions on Postgres CDC](https://discuss.airbyte.io/t/4193), [Bug reference/downgrade suggestion](https://discuss.airbyte.io/t/1653)).
b
@kapa.ai i hard deleted a record on psql but on snowflake the flag for deleted was not updated. and the record is still there
k
A message from kapa.ai
New message text here