Based on the information in the knowledge sources, after upgrading to Destinations V2, Airbyte changes how raw tables are managed, but the deduplicated table (final table) is still created from the SCD (history) table, not directly from the raw table. Here’s what happens during and after the upgrade: -
Pre-existing raw tables, SCD tables, and "unnested" tables are left untouched after the upgrade. They are no longer kept up-to-date by Airbyte syncs. New raw tables are created in the new format and are kept up-to-date going forward. -
The new deduplicated table is created from the new SCD table, which is itself generated from the new raw table. The deduplication logic still relies on the SCD table, not directly on the raw table. - If your SCD table stopped updating at the time of the upgrade, but your deduplicated table is up to date, this suggests that the deduplicated table is now being built from the new SCD table (which is being updated from the new raw table), not the old SCD table. The old SCD table and old raw table are no longer updated, but remain in your database for reference or manual cleanup. > Pre-existing raw tables, SCD tables and "unnested" tables will always be left untouched. You can delete these at your convenience, but these tables will no longer be kept up-to-date by Airbyte syncs. [Upgrading to Destinations V2](
https://docs.airbyte.com/release_notes/upgrading_to_destinations_v2#quick-start-to-upgrading) > The new raw tables will be updated to the new Destinations V2 format. ... The new raw tables will be typed and de-duplicated according to the Destinations V2 format. Once typing and de-duplication has completed successfully, your previous final table will be replaced with the updated data. [Upgrading to Destinations V2](
https://docs.airbyte.com/release_notes/upgrading_to_destinations_v2#quick-start-to-upgrading)
In summary: - The deduplicated table is still built from the SCD table, not directly from the raw table. - After upgrading, only the new SCD and raw tables are kept up to date; the old ones are static. - If your deduplicated table is up to date, it is being built from the new SCD table, which is being updated from the new raw table. If you see two versions of the raw table and SCD table, only the new ones are active. The deduplicated table does not depend directly on the raw table, but on the SCD table generated from the current raw table.