mykola_zavada
12/10/2024, 10:00 PMReuben (Matatika)
12/10/2024, 10:27 PM--full-refresh
is a Meltano construct that just means run without state. Not sure how you would detect this in a target. Can you be more specific with what you are you trying to do?mykola_zavada
12/10/2024, 10:31 PMReuben (Matatika)
12/10/2024, 10:52 PMhard_delete
, which is a pattern a couple other targets follow.
In the long-term, I think you would probably be interested in the ACTIVATE_VERSION
Singer message, which you would be able to handle in your target to process. A tap would be responsible for emitting this initially though, so it wouldn't work properly until they also add support. https://github.com/meltano/sdk/issues/18mykola_zavada
12/12/2024, 3:32 AMprocess_batch
from the BatchSink class to define logic how to push data to the destination. It's still not clear to me and I could find any examples where should I define a custom logic for the hard_delete
setting. As I understand I cannot place it in process_batch
as it's going to be executed multiple times.mykola_zavada
12/12/2024, 4:26 AM__init__
methodReuben (Matatika)
12/12/2024, 3:22 PMSink.start_drain
could work. Otherwise yeah, something like __init__
.