eric_s
02/09/2023, 6:40 PMmeltano run tap target (dbt:run --select tag:process1)
This idea works through invoke but I havent found a way to use tags for run/elt. Thanksaaronsteers
02/09/2023, 6:48 PMmeltano run tap target dbt:run-postgresaaronsteers
02/09/2023, 6:49 PMtaylor
02/09/2023, 6:49 PMtaylor
02/09/2023, 6:50 PMrun and not elteric_s
02/09/2023, 7:38 PM- name: dbt-postgres
config:
...
commands:
run-process1: run --select tag:process1
I get the message
Run invocation could not be completed as block failed: Cannot start plugin: Command 'run-process1' could not be found. Transformer 'dbt-postgres' supports the following commands: clean, compile, deps, run, seed, snapshot, test
I also tried using a custom plugin like
transformers:
- name: dbt-postgres
config:
...
- name: dbt
inherit_from: dbt-postgres
commands:
run-process1: run --select tag:process1
But then I get the error
Error: Block dbt:run-process1 not foundchristoph
02/09/2023, 8:26 PM--select directly in a command, but only --selector instead.christoph
02/09/2023, 8:26 PMtag:tagname syntax is throwing off meltano invoke ...eric_s
02/09/2023, 8:54 PMtaylor
02/09/2023, 9:11 PMexecutable as dbt.taylor
02/09/2023, 9:12 PMcommands:
run-process1: "run --select tag:process1"taylor
02/09/2023, 9:13 PMtaylor
02/09/2023, 9:13 PMeric_s
02/09/2023, 9:53 PMtaylor
02/09/2023, 9:53 PMaaronsteers
02/09/2023, 10:17 PM- name: dbt-postgres
config:
...
commands:
run-process1:
args: run --select tag:process1aaronsteers
02/09/2023, 10:19 PMcommand declaration should be an object with a subnode of args: - similar to the above and the code sample from @taylor. Hope that helps!