[Bug] Updating a data type detail (e.g. size) results in a breaking change on the contract #11186
Open
2 tasks done
Labels
backport 1.9.latest
bug
Something isn't working
cloud
Issues related to dbt Cloud
model_contracts
regression
Is this a new bug in dbt-core?
Current Behavior
We have a model materialized as a table with an enforced contract. If we change a column's data type from
varchar(1)
tovarchar(2)
, this change is detected as a breaking change.Expected Behavior
As described in https://docs.getdbt.com/reference/resource-configs/contract#size-precision-and-scale it should not result in a breaking change.
Steps To Reproduce
Relevant log output
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
It might be related to the following release:
The text was updated successfully, but these errors were encountered: