Hello everyone, does meltano store all the meta in...
# troubleshooting
m
Hello everyone, does meltano store all the meta information regarding the extractions and the updated at stuff? If so can we manipulate it?
t
I need to know this too. I have a single table I need to reload and I think tweaking the state data is probably the only way. ๐Ÿคจ
p
I believe right now you'll have to manually update the system database state record in the jobs table but theres an open issue that was discussed in the last office hours around creating a
meltano state
cli command that allows you to manipulate the state of your incremental pipelines https://gitlab.com/meltano/meltano/-/issues/2754
If you have thoughts definitely add a comment on that issue!
t
Thanks @pat_nadolny. In my test env I've been able to do it by dumping state with the --dump option, tweaking that file, and then running again with the --state option. That only works with
meltano elt
and the moment though, it appears... anyone using
meltano run
will be out of luck (at least for now).
The new state options would be a way better option though
p
@thomas_briggs yeah that sounds like a reasonable work around too. I actually think incremental state is supported in
run
based on this MR https://gitlab.com/meltano/meltano/-/merge_requests/2544
t
@pat_nadolny agreed that it's generally supported. (Which definitely made my life better, BTW!) I don't see a way to override the state for a single tap/pipeline though, which is what the --state option to the elt command does (if only because elt only operates on one pipeline...)
It feels to me like a similar option will ultimately be necessary for the run command though. For example I have a pipeline that's mysql -> meltano-map-transformer -> snowflake. If I need to reload a single table I can't just take the transformer out of the pipeline in order to enable overriding the state. Easy for me to say since I don't have to implement it though. ๐Ÿ˜
p
@thomas_briggs ahh ok I understand what youre saying now. Good point. I would encourage you to add that context to the issue I linked in case that hasnt already been discussed
t
Done