With the new constraints feature in dbt 1.5, you can enable constraints. However, unlike the dbt_constraints package (by Snowflake), with dbt's 1.5 constraints you un/fortunately have to enable contracts which requires listing out every column and its data type.
dbt-osmosis already goes into Snowflake INFORMATION_SCHEMA to reorder columns, it'd be great if it could add in data types!
With the new constraints feature in dbt 1.5, you can enable
constraints
. However, unlike the dbt_constraints package (by Snowflake), with dbt's 1.5 constraints you un/fortunately have to enablecontracts
which requires listing out every column and its data type. dbt-osmosis already goes into Snowflake INFORMATION_SCHEMA to reorder columns, it'd be great if it could add in data types!