lidong_zhao
11/17/2022, 5:29 PMthomas_briggs
11/17/2022, 6:56 PMmeltano state get some_id > state.json
to get the state of the pipeline
3. Edit state.json to remove the entry for the table in question
4. Run meltano state set sone_id --input-file state.json
to load the modified state data
5. Run the pipeline.
That's my general process anyway. The commands may not be perfect, I just typed them out from memory. 😉lidong_zhao
11/17/2022, 8:40 PMlidong_zhao
11/18/2022, 5:48 PMaaronsteers
11/18/2022, 6:01 PMI think it might be very useful if Singer Spec supports DELETE TABLE(Or Truncate Table) message. In some cases, only extractor knows when re-sync should be triggered.Singer does have something close to this but it is not yet 'officially' part of the spec or implemented broadly. The
ACTIVATE_VERSION
message can be sent by a tap after a full table sync. This is generally implemented as the epoch time of the records that are in this 'latest' sync. And then the target can perform either a soft or hard delete of records that do not have the latest table version.aaronsteers
11/18/2022, 6:03 PMaaronsteers
11/18/2022, 6:04 PM1.0
SDK launch.