Adam Wegscheid
09/23/2024, 4:43 PMmeltano run
.
$ meltano state list
test:tap-oracle1-to-target-redshift
test:tap-oracle0-to-target-redshift
test:tap-oracle2-to-target-redshift
I would like tap-oracle0 (and 1 and 2) to all use a shared state ID.Edgar Ramírez (Arch.dev)
09/23/2024, 5:11 PMmeltano state
subcommands. I'm curious, what's the use case of having two taps use the same state ID?Adam Wegscheid
09/23/2024, 5:59 PMReuben (Matatika)
09/23/2024, 8:28 PM--state-id
option with meltano el. I don't know if you'll run into file locking issues when writing state in parallel though...Edgar Ramírez (Arch.dev)
09/23/2024, 9:14 PMmeltano state merge
to combine all states into a single object, and then set all state IDs to that value.Adam Wegscheid
09/24/2024, 1:09 PMel
is not an option otherwise this would have been easy using --state-id
. I believe I will have to merge all of the states into one after each run and then copy that combined state over the others.Edgar Ramírez (Arch.dev)
09/24/2024, 2:06 PMmeltano state merge
to merge multiple states in one go.Adam Wegscheid
09/24/2024, 2:33 PMEdgar Ramírez (Arch.dev)
09/24/2024, 3:29 PMSteve Clarke
10/07/2024, 6:13 PMAdam Wegscheid
10/07/2024, 7:55 PMRun invocation could not be completed as block failed: Cannot start plugin tap-oracle: [WinError 32] The process cannot access the file because it is being used by another process: 'E:\\meltano_poc\\.meltano\\run\\tap-oracle\\tap.properties.json'
steve_clarke
10/07/2024, 9:00 PMmeltano run tap-oracle target-snowflake --state-id-suffix=batcha
meltano run tap-oracle target-snowflake --state-id-suffix=batchb
Adam Wegscheid
10/08/2024, 1:13 PMsteve_clarke
10/08/2024, 7:57 PM--state-id-suffix
then concatenating that onto the directory name i.e.
'E:\\meltano_poc\\.meltano\\run\\tap-oracle-batcha\\tap.properties.json'
'E:\\meltano_poc\\.meltano\\run\\tap-oracle-batchb\\tap.properties.json'
I realise that when I run each tap it is in a separate isolated ephemeral container, so that it why I haven't seen this issue.
@Edgar Ramírez (Arch.dev).
What do you think that if we use a --state-id-suffix
with a run command or a --state-id
with a el command? To append on the name of the tap? This would provide the ability to truely run two instances of a tap in parallel.Edgar Ramírez (Arch.dev)
10/08/2024, 9:19 PM