abhishek_ajmera
11/23/2022, 7:15 PMfull refresh imply?
• ADoes that mean a full table replication?flag can be passed to perform a full refresh, ignoring state left behind by any previous runs with the same State ID.--full-refresh
visch
11/23/2022, 7:35 PMvisch
11/23/2022, 7:36 PMabhishek_ajmera
11/23/2022, 7:56 PMvisch
11/23/2022, 7:58 PMaaronsteers
11/23/2022, 8:00 PMaaronsteers
11/23/2022, 8:01 PMBasically I was trying to see if there’s a way to do incremental replication every 10 minutes, but also a full table truncate replication once a day.The
--full-refresh accomplishes what you want on the tap side - but not on the target side. The target will not remove old records.aaronsteers
11/23/2022, 8:02 PMI can't think of any real behavioral differences in these two though...Actually, yes. Only when running in
FULL_TABLE mode would the tap send an ACTIVATE_VERSION message - which is what would drive your truncate requirement if the target supports ACTIVATE_VERSION.aaronsteers
11/23/2022, 8:02 PMabhishek_ajmera
11/23/2022, 8:08 PMaaronsteers
11/23/2022, 8:13 PMACTIVATE_VERSION requirements just in Slack this month so I'm spinning off a #C04CAST0E20 channel for more discussion. Right now the channel is empty, but feel free to join if this is a topic you are interested in.abhishek_ajmera
11/23/2022, 8:18 PMaaronsteers
11/23/2022, 8:19 PMaaronsteers
11/23/2022, 8:20 PMACTIVATE_VERSION message?aaronsteers
11/23/2022, 8:20 PMabhishek_ajmera
11/23/2022, 8:32 PMtarget-bigquery which has a configuration for the way it inserts data, truncate for FULL_TABLE and append for INCREMENTAL.
Was using two environments to replicate some tables fully and some tables incrementally, so just added the incremental tables to the list of first env as well. 😬aaronsteers
11/23/2022, 8:44 PM