You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to guarantee exclusion of certain "special" models from "triggering" downstream models from running in jobs. I use tags and use --exclude tag:
That works fine.
However, I feel this below is a more robust solution. At the top of a model, a new config setting could guard models with upstream refererences to it from running:
-- this model is dim_customers. I want to prevent models that ref() this model below from triggering (solely because it's used in an upstream ref)
{{
config(ignore_upstream_ref = "true")
}}
A scenario for this is conformed dimensions, that get ref()'d all over the place. This triggers undesired model builds. The above would prevent that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to guarantee exclusion of certain "special" models from "triggering" downstream models from running in jobs. I use tags and use --exclude tag:
That works fine.
However, I feel this below is a more robust solution. At the top of a model, a new config setting could guard models with upstream refererences to it from running:
-- this model is dim_customers. I want to prevent models that ref() this model below from triggering (solely because it's used in an upstream ref)
{{
config(ignore_upstream_ref = "true")
}}
A scenario for this is conformed dimensions, that get ref()'d all over the place. This triggers undesired model builds. The above would prevent that.
Beta Was this translation helpful? Give feedback.
All reactions