Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADAP-352] [Redshift] Generate order-agnostic constraints ddl when contract: true #356

Closed
Tracked by #6747
MichelleArk opened this issue Mar 4, 2023 · 0 comments · Fixed by #368
Closed
Tracked by #6747
Assignees

Comments

@MichelleArk
Copy link
Contributor

Core issue: dbt-labs/dbt-core#7064

Wrap create_table_as user sql in schema-ordered select statement for models with contract: true
Could look like: default__get_select_subquery from dbt-core, called in redshift__create_table_as

Note: We won't need to do this for view materializations as they don't support constraints.

@github-actions github-actions bot changed the title [Redshift] Generate order-agnostic constraints ddl when contract: true [ADAP-352] [Redshift] Generate order-agnostic constraints ddl when contract: true Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants