Skip to content

Commit

Permalink
Clarify current support level for contracts for materialized views (#…
Browse files Browse the repository at this point in the history
…5993)

[Preview](https://docs-getdbt-com-git-dbeatty10-patch-1-dbt-labs.vercel.app/docs/collaborate/govern/model-contracts#where-are-contracts-supported)

## What are you changing in this pull request and why?
- It isn't clear if materialized views have support for model contracts
or not.
- Also not clear if custom materializations automatically include
support for model contracts or not.

Context: dbt-labs/dbt-snowflake#888 (`dynamic
table` is the Snowflake equivalent of `materialized view` in other data
platforms)

## Checklist
- [x] I have reviewed the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
so my content adheres to these guidelines.
  • Loading branch information
dbeatty10 authored Aug 30, 2024
1 parent 54610a8 commit d302701
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docs/docs/collaborate/govern/model-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ At present, model contracts are supported for:

Model contracts are _not_ supported for:
- Python models.
- `ephemeral`-materialized SQL models.
- `materialized view` or `ephemeral`-materialized SQL models.
- Custom materializations (unless added by the author).
- Models with recursive <Term id="cte" />'s in BigQuery.
- Other resource types, such as `sources`, `seeds`, `snapshots`, and so on.

Expand Down

0 comments on commit d302701

Please sign in to comment.