I need to run some list of specific models, in the middle of the dependency tree across multiple folders.
I’m fixing bugs in the center of a transformation pipeline.
Right now I run the models one at a time, which is effective, but not as convenient.
Hi Ben!
You can use the set operators to solve this: A space represents a union, and a comma an intersection.
So in your case you can execute: dbt run -s model_a model_b model_c
dbt run -s model_a model_b model_c
Oh, that’s lovely! That wasn’t clear to me from reading the documentation. Maybe that would be a good thing to have a couple of examples for. Or, maybe there are examples, and I was on the wrong page. Either way, thanks so much for helping me out!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.