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

[CT-2167] Enforce model contracts for default view materializations #7034

Closed
Tracked by #6747
MichelleArk opened this issue Feb 23, 2023 · 1 comment · Fixed by #7120
Closed
Tracked by #6747

[CT-2167] Enforce model contracts for default view materializations #7034

MichelleArk opened this issue Feb 23, 2023 · 1 comment · Fixed by #7120
Assignees
Labels
model_contracts multi_project user docs [docs.getdbt.com] Needs better documentation

Comments

@MichelleArk
Copy link
Contributor

Currently, we assert column equivalence during table creation.

We'll need to similarly assert column equivalence in default view materializations.

Note - we won't be able to generate column_spec_ddl as column spec ddl is generally unsupported for view creation.

@github-actions github-actions bot changed the title Enforce model contracts for default view materializations [CT-2167] Enforce model contracts for default view materializations Feb 23, 2023
@emmyoop
Copy link
Member

emmyoop commented Feb 23, 2023

Also add tests but they can follow the pattern for the table version but for a view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model_contracts multi_project user docs [docs.getdbt.com] Needs better documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants