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
github-actionsbot
changed the title
[Redshift] Add model-level constraints to get_columns_spec_ddl
[CT-2222] [Redshift] Add model-level constraints to get_columns_spec_ddl
Feb 28, 2023
Core issue: dbt-labs/dbt-core#6754
Redshift supports not_null, primary_key, foreigh_key, and unique constraints
constraints specified at the model-level should be rendered to the column spec ddl after column-level constraints are rendered: https://github.com/dbt-labs/dbt-redshift/blob/main/dbt/include/redshift/macros/utils/get_columns_spec_ddl.sql#L35
Constraint docs: https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_TABLE_NEW.html
The text was updated successfully, but these errors were encountered: