balajij8
Esteemed Contributor III

You can check AUTO CDC. Hubs are streaming tables loaded with AUTO CDC INTO KEYS (hub_hash_key) SEQUENCE BY load_datetime STORED AS SCD TYPE 1 - it's an upsert by design, so duplicates arriving in different batches are deduplicated against the target's persistent state and late/out-of-order records are dropped automatically More details here

Use COLUMNS * EXCEPT (load_datetime, load_source) so hub metadata keeps its first seen values even when later duplicates arrive - More details here

For multiple sources into one hub - union all source key extractions (with identical hashing) into a single stage layer view and point one AUTO CDC flow at it. More details here

You can build hubs as materialized views as dedup is inherent and incrementally refreshable if you plan to run the pipelines every 4 hours or more. You can reserve AUTO CDC for satellites More details here