airflow-dbt icon indicating copy to clipboard operation
airflow-dbt copied to clipboard

Add support for dbt-build-operator

Open wwells opened this issue 3 years ago • 1 comments

Hi GoCardless team! Would love to submit a PR to extend airflow-dbt to add a build operator to support functionality added in dbt v0.21

I've already updated the readme, tests, and airflow_dbt/operators/dbt_operator.py, but am unable to make a push to the remote repo so I can submit a PR.

$ git push origin dbt-build-operator
ERROR: Permission to gocardless/airflow-dbt.git denied to wwells.

If the maintaining team is interested in this augmentation, what should I do to participate?

wwells avatar Nov 10 '21 14:11 wwells

Hi, you can find a nice guide on how to submit your PR here, from Github themselves. I know this comes a little bit late.

You can always use the DbtBaseOperator

from airflow_dbt.operators.dbt_operator import DbtBaseOperator

dbt_build = DbtBaseOperator(
    task_id='dbt_build',
    command='build',
)

dinigo avatar May 24 '22 09:05 dinigo