elena_velte
03/21/2023, 7:09 PMdbt transformer, and using it to run a couple of macros as part of my meltano run pipelines like this:
transformers:
- name: dbt
pip_url: dbt-core==1.0.4
commands:
custom-debug: run-operation debugging
config:
target: redshift
project_dir: transform/
and then invoke it like this:
$ meltano run tap-salesforce target-redshift dbt:custom-debug
as part of the upgrade Iβm moving over to the dbt-redshift utility, but I donβt see how to invoke run-operations now? π€ what am I missing? π
thanks in advance πpat_nadolny
03/21/2023, 7:18 PMrun-operations command isnt currently listed as a command by default for the utility (it can certainly be added though) but you can still define custom commands just like you did in your example above. meltano run tap-salesforce target-redshift dbt-redshift:custom-debug should work if you set your command under the new utility:
utilities:
- name: dbt-redshift
variant: dbt-labs
pip_url: dbt-core~=1.3.0 dbt-redshift~=1.3.0 git+<https://github.com/meltano/dbt-ext.git@main>
commands:
custom-debug: run-operation debugging
Does that make sense?elena_velte
03/22/2023, 9:29 AM