From d30270146f9563423f7f7a8865197e03882a0662 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Fri, 30 Aug 2024 03:26:17 -0600 Subject: [PATCH] Clarify current support level for contracts for materialized views (#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: https://github.com/dbt-labs/dbt-snowflake/issues/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. --- website/docs/docs/collaborate/govern/model-contracts.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/docs/docs/collaborate/govern/model-contracts.md b/website/docs/docs/collaborate/govern/model-contracts.md index 9e59d089e49..e186609b746 100644 --- a/website/docs/docs/collaborate/govern/model-contracts.md +++ b/website/docs/docs/collaborate/govern/model-contracts.md @@ -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 's in BigQuery. - Other resource types, such as `sources`, `seeds`, `snapshots`, and so on.