hey :slightly_smiling_face: I’m upgrading to melta...
# troubleshooting
e
hey πŸ™‚ I’m upgrading to meltano 2.0 (πŸŽ‰ ) so far I was using the
dbt transformer
, and using it to run a couple of macros as part of my
meltano run
pipelines like this:
Copy code
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 πŸ™
p
@elena_velte congrats! The
run-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:
Copy code
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?
e
oh wow, that was easy πŸ˜… I knew I was missing something πŸ™ˆ thanks a lot, works like a charm πŸ’›