Open graciegoheen opened 9 months ago
What would be lost by disallowing env-aware logic outside the dbt_project.yml
?
Lots of examples here: https://discourse.getdbt.com/t/why-are-ci-jobs-state-method-building-more-less-models-nodes-than-expected/7504 An example of env_var logic here , which seems impossible to keep out of state:modified
For those following along, would love to hear your thoughts over in this discussion https://github.com/dbt-labs/dbt-core/discussions/10518
We currently call out a lot of caveats to state comparison in our docs.
There are many scenarios where executing
dbt list --select state:modified
over or under selects the appropriate resources. This leads to:state:modified
, I haven't changed them"While it's unlikely we can cover ever single edge case here, we should improve
state:modified
so that it Ideally actually only selects the modified resources.This epic will track the relevant bugs/enhancements related to
state:modified
.