<@U04S8PLJWMT> if a connection has a stream with t...
# ask-ai
a
@kapa.ai if a connection has a stream with the sync mode "full refresh overwrite", is there a time when the table is completely missing from the destination?
k
When using the "full refresh overwrite" sync mode in Airbyte, the destination table is replaced during each sync. For certified database and data warehouse destinations, Airbyte typically writes the new data to a temporary table (e.g., "final-table-tmp") while the sync is running. Once the sync is complete, Airbyte drops the old table and renames the new one into place. This approach ensures that the table is always present in the destination, except for a very brief moment during the renaming operation, which is generally handled atomically by the database and is not typically observable by users. However, for some destinations where this atomic swap is not possible, Airbyte may need to erase the existing data at the start of each full-refresh sync. In such cases, there could be a short period during the sync when the table is empty or potentially missing, depending on the destination's implementation. This behavior can impact downstream processes that expect the table to always exist during the sync window. In summary: - For most certified databases/warehouses, the table is not completely missing, but there may be a very brief moment during the swap. - For some destinations, the table could be missing or empty during the sync, depending on how the connector handles the overwrite process. This is destination-specific and may vary depending on the connector implementation [Full Refresh - Overwrite](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/full-refresh-overwrite) [Full Refresh - Overwrite + Deduped](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/full-refresh-overwrite-deduped).
a
For the Snowflake destination connector. How exactly does that swap happen?
@kapa.ai For the Snowflake destination connector. How exactly does that swap happen?
k
A message from kapa.ai
New message text here