mike Trienis
07/17/2024, 7:07 PMkapa.ai
07/17/2024, 7:07 PMmike Trienis
07/17/2024, 7:10 PMkapa.ai
07/17/2024, 7:10 PMkapa.ai
07/17/2024, 7:11 PMupdated_at
is our cursor_field
and name
is the primary_key
. Let's say the following data already exists in our data warehouse. | name | deceased | updated_at | | --- | --- | --- | | Louis XVI | false | 1754 | | Marie Antoinette | false | 1755 | In the next sync, the delta contains the following record: | name | deceased | updated_at | | --- | --- | --- | | Louis XVI | false | 1785 | At the end of this incremental sync, the data warehouse would now contain: | name | deceased | updated_at | | --- | --- | --- | | Marie Antoinette | false | 1755 | | Louis XVI | false | 1785 | As you can see, the record for Louis XVI was updated (upserted) based on the name
primary key. However, it's important to note that due to the use of a cursor column, if modifications to the underlying records are made without properly updating the cursor field, then the updated records won't be picked up by the Incremental sync as expected. Sources: - [Incremental Sync - Append + Deduped > Rules](https://docs.airbyte.com/using-airbyte/core-concepts/sync-modes/incremental-append-deduped#rules) - [Incremental Sync - Append + Deduped > Known Limitations](https://docs.airbyte.com/using-airbyte/core-concepts/sync-modes/incremental-append-deduped#known-limitations)