Based on the information in the knowledge sources, your experience is consistent with known limitations and the current design of Airbyte’s ClickHouse destination and the “Incremental | Append + Deduped” sync mode. ### Key Points 1.
Incremental | Append + Deduped Mode This mode is designed to keep only the latest version of each record (per primary key) in the final table, deduplicating based on the cursor field. However, the deduplication logic is implemented in the destination connector, and not all destinations support this natively or efficiently. The history table may contain multiple versions, but the final table should only have the latest per primary key. [Incremental Sync - Append + Deduped](
https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/incremental-append-deduped) 2.
ClickHouse Destination Limitations The ClickHouse destination is marked as deprecated and does not use Destination v2 (typing and deduplication). This means it may not support the deduplication step required for “Incremental | Append + Deduped” mode, resulting in multiple versions of the same record (duplicates) after updates, rather than updating the row as expected. [ClickHouse Destination (Deprecated)](
https://docs.airbyte.com/integrations/destinations/clickhouse-deprecated) 3.
CDC and Deduplication Even with CDC enabled on the source, if the destination does not implement deduplication logic, updates will appear as new rows rather than updating the existing row. This is a limitation of the ClickHouse destination, not the CDC process itself. 4.
Known Issues There is a known issue reported where syncing from MySQL (with CDC) to ClickHouse using “Incremental | Append + Deduped” results in duplicates for updates, confirming your observation. [GitHub Issue: MySQL to ClickHouse sync fails - Incremental | Append or Deduped + history](
https://github.com/airbytehq/airbyte/issues/11087) ### Resolution -
There is currently no resolution using the ClickHouse destination, as it does not support deduplication in the final table. This is a limitation of the destination connector itself. - If deduplication is critical for your use case, you may need to: - Use a different destination that supports Destination v2 and deduplication. - Implement post-processing in ClickHouse to deduplicate records after sync. - Monitor the [ClickHouse destination discussion](
https://github.com/airbytehq/airbyte/discussions/35339) for updates or improvements. ### Follow-up Questions - Is switching to a different destination (e.g., a supported data warehouse) an option for you? - Are you able to implement deduplication logic within ClickHouse as a workaround? - Would you like guidance on how to perform deduplication in ClickHouse using SQL? Let me know your constraints or preferences, and I can provide more targeted advice.