What is the best way to test that a tap’s incremen...
# singer-tap-development
m
What is the best way to test that a tap’s incremental state is working? I have up to this point been checking meltano’s
jobs
table to see if the state was getting updated there. I have not worked with an incremental tap yet, so I’m not sure if that’s the right way to test that.
@aaronsteers Would you happen to know a way I could control when the incremental state is saved? Also, what is the actual function that is saving the state? Looking at _state I can see some functions like
write_stream_state
and
increment_state
that update the state dict, but don’t actually save the dict for future tap runs. Am I understanding this correctly?