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
$ dbt ls -s state:modified --state state/
10:38:49 Running with dbt=1.5.0-b5
10:38:50 Found 2 models, 0 tests, 0 snapshots, 1 analysis, 536 macros, 0 operations, 1 seed file, 0 sources, 0 exposures, 0 metrics, 0 groups
10:38:50 Encountered an error:
Contract Error in model sometable (models/sometable.sql)
There is a breaking change in the model contract because column definitions have changed; you may need to create a new version. See: https://docs.getdbt.com/docs/collaborate/publish/model-versions
Also
Let's rename ModelContractError to ModelContractBreakingChangeError, to better disambiguate it from ContractError (when the model's contract fails at build time).
The text was updated successfully, but these errors were encountered:
jtcohen6
changed the title
Adding a new column to a model with an enforced contract is not a breaking change
[Bug] Adding a new column to a model with an enforced contract should not be a breaking change
Apr 12, 2023
github-actionsbot
changed the title
[Bug] Adding a new column to a model with an enforced contract should not be a breaking change
[CT-2401] Adding a new column to a model with an enforced contract is not a breaking change
Apr 12, 2023
jtcohen6
changed the title
[CT-2401] Adding a new column to a model with an enforced contract is not a breaking change
[CT-2401] [Bug] Adding a new column to a model with an enforced contract should not be a breaking change
Apr 12, 2023
Reported in #7065 (comment)
Reproduction case
Run:
Change the yaml to:
Also
Let's rename
ModelContractError
toModelContractBreakingChangeError
, to better disambiguate it fromContractError
(when the model's contract fails at build time).The text was updated successfully, but these errors were encountered: