I started to migrate some of your transformations jobs to DBT. As you can see on the image bellow, there is usually 1 to 2 transformations before to have our final table (up to 5 transformations in some cases).
What I am trying to achieve is to do dbt run only for a set on linked model. For instance, sales_prediction
and forecast
. I am currently able to run either for everything with dbt run o
r just speficif model using dbt run --select model_name
Dbt allows syntax of
+
before the model name)+
after the model name)+model_name+
)In your case dbt run --select +forecast
should do the trick
Also check the documentation of the +
operator.
In addition to the + operator, incase you just need to run multiple unrelated models by specifying their names, you can do so as such:
dbt run --select my_first_model my_second_model
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With