Hi. I have a meltano job description to initialise...
# getting-started
h
Hi. I have a meltano job description to initialise my DBT setup defined like this:
Copy code
- name: dbt-init
    tasks:
      - dbt-postgres:seed
      - dbt-postgres run-operation create_udfs
When I try to run the job I get
Error: Block run-operation not found
. Is there a way to have an arbitrary invoke command as a task in a job like above?
For future reference - I solved this by creating a command in the transformers configuration:
Copy code
transformers:
  - name: dbt-postgres
    commands:
      create-udfs: run-operation create_udfs
And using the command in the dbt-init job.
t
That’s the right solution @herman_ewert! the
tasks
list is calling
dbt run
and so you can’t pass in arbitrary commands like you can with
invoke
_unles_s you’re defining them in a command like you did! 🙂