I am looking at the elt documentation examples <ht...
# getting-started
b
I am looking at the elt documentation examples https://docs.meltano.com/reference/command-line-interface#examples What will be the behavior of command below :
Copy code
meltano elt tap-gitlab target-postgres --state-id=gitlab-to-postgres --dump=state > extract/tap-gitlab.state.json
dump the state after completion of elt ? or is it before ?
p
@binoy_shah my understanding is that when the
--dump
command is included the pipeline isnt actually run, its more for debugging. You can alternatively use the
state
command to retrieve those states as well
a
That's correct. --dump makes the invocation a no-op in terms of data movement. So you'd want to run once the regular way and once again with --dump. I'll add that the recommended method to export state is with the new
meltano state get
commands. This method is slightly simpler in terms of syntax. https://docs.meltano.com/reference/command-line-interface#state
b
Thank you AJ