Hi All,
Does dbt offers configuration to enforce specific order of running models? Example: models X, Y, Z can run simultaneously/in parallel, and we want to enforce order: Z, X, Y? If this can be achieved, can you please share how?
Thanks!
If they don’t reference each other already, you can add a ref() in sql comments to force a dependency
1 Like
Thank you Jay.Those models don’t have dependency. If I understood you right, by using ref() we’d be “enforcing” dependency even in fact they are not dependent on each other, thus placing models in order we’d like to have. Is my understanding accurate?
1 Like