<@U04S8PLJWMT> I have a running airbyte pipeline t...
# ask-ai
p
@kapa.ai I have a running airbyte pipeline that is doing etl from aws rds to snowflake. To the destination table, can I copy some external data on top of existing data(that were already loaded from ETL). I have configured to sync via CDC(binlog). Does that introduce any complications?
k
If you manually copy external data into your destination table (Snowflake) on top of the data that Airbyte is syncing via CDC from AWS RDS, you may introduce complications. Airbyte’s CDC sync process expects the destination to reflect the state of the source as tracked by the change logs (binlog). If you add external data directly to the destination, Airbyte will not be aware of these changes, since it never queries the destination to compare or reconcile with the source. This can lead to several issues: - Data Consistency: Airbyte will not manage or deduplicate the externally added data. If the external data overlaps with data from the source (e.g., same primary keys), you may end up with duplicates or inconsistent records. - CDC State Tracking: Airbyte’s CDC process relies on the state of the source and the change logs. It does not track or manage manual changes made directly in the destination. This means any external data you add will not be updated or deleted by Airbyte unless a corresponding change occurs in the source and is captured by CDC. - Potential for Data Loss or Overwrites: If Airbyte later syncs a record with the same primary key as your external data, it may overwrite or deduplicate based on its own logic, potentially leading to loss of your manually added data. As noted in the documentation and community discussions, Airbyte connectors do not query the destination to detect or reconcile external changes; their only source of truth is the source system and its change logs. If you need to combine external data with CDC-managed data, it is generally recommended to do so in a separate table or via downstream transformations, not by directly modifying the destination table managed by Airbyte’s sync process. This helps avoid unexpected data integrity issues and keeps the sync process predictable and reliable [Forum Post: Sync of Deleted records in source to the target datasource](https://discuss.airbyte.io/t/372), [CDC documentation - Limitations](https://docs.airbyte.com/platform/understanding-airbyte/cdc#limitations). In summary: Directly copying external data into a destination table managed by Airbyte CDC sync is not recommended and can introduce complications. Consider alternative approaches such as staging the external data in a separate table and merging it downstream.