david_lee
08/05/2022, 4:52 PMthomas_briggs
08/05/2022, 4:57 PMthomas_briggs
08/05/2022, 4:58 PMjean_sahlberg
08/05/2022, 5:17 PMthomas_briggs
08/05/2022, 5:19 PMdavid_lee
08/05/2022, 5:20 PMset the state data for the table in the Meltano DB to make it look like Meltano loaded itWould you mind pointing me to the right direction on how to achieve this?
thomas_briggs
08/05/2022, 5:29 PMstate get to dump the current state data to a file
2. Modify the state data to include data for the newly-loaded table
3. Use state set to import the updated state data into Meltano
That assumes you've already run the pipeline successfully at least once such that there's state data to export/change/re-import, BTW. So load a small table normally to establish some state and you can go from there.thomas_briggs
08/05/2022, 5:32 PMSELECT TRUNCATE(UNIX_TIMESTAMP(CURRENT_TIMESTAMP(3)) * 1000, 0) AS version;
SHOW MASTER STATUS;
right before dumping the table to file. I think I stole that from the tap-mysql code, so... any issues with that can be directed to Pipelinewise. ๐edgar_ramirez_mondragon
08/05/2022, 5:44 PMaaronsteers
08/05/2022, 5:51 PM