[Bug] state:modified
should include check_modified_contract
#11034
Labels
backport 1.9.latest
bug
Something isn't working
model_contracts
state: modified
state
Stateful selection (state:modified, defer)
Is this a new bug in dbt-core?
Current Behavior
Following the implementation in:
If I delete/rename a contracted model, I expect to see a warning/error when I
dbt <command> --select state:modified
.But I only see this warning/error with
dbt <command> --select state:modified.contracts
Expected Behavior
state:modified
should includecheck_modified_contract
: 14453eb@T-Dunlap:
@joellabes:
Steps To Reproduce
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
Would this require a behavior-change flag? I don't think so, because it feels in keeping with the original intent of the issue, with what we've documented, and with what users would expect to happen
It also generally crops up in CI jobs, so unlikely to suddenly break someone's prod runs unless they're actually proposing code changes. (I think they'd need to be doing something wacky with dynamically enabling/disabling contracted versioned models)
The text was updated successfully, but these errors were encountered: