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

deprecate experimental MVs #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ In all cases, these are _demo_ projects, not intended as ready-to-use packages.

## [Materialized views](materialized-views)

> [!CAUTION]
> The implementation in this repo is no longer maintained.
> Materialized Views have been fully supported in dbt Cor since version `1.7` (November 2023).
> See [dbt docs: materialized views](https://docs.getdbt.com/docs/build/materializations#materialized-view) for more information.


This project adds support for `materialized_view` as a new dbt materialization. It includes implementations for Postgres, Redshift, Snowflake, and BigQuery, through a mix of new macros and overrides of built-in dbt macros. See the [project README](materialized-views/README.md) for details. For another take on dbt + materialized views, check out the [dbt-materialize](https://github.com/MaterializeInc/materialize/tree/main/misc/dbt-materialize#dbt-materialize) plugin.

## [Lambda views](lambda-views)
Expand Down
5 changes: 5 additions & 0 deletions materialized-views/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## dbt_labs_materialized_views

> [!CAUTION]
> The implementation in this repo is no longer maintained.
> Materialized Views have been fully supported in dbt Cor since version `1.7` (November 2023).
> See [dbt docs: materialized views](https://docs.getdbt.com/docs/build/materializations#materialized-view) for more information.

`dbt_labs_materialized_views` is a dbt project containing materializations, helper macros, and some builtin macro overrides that enable use of materialized views in your dbt project. It takes a conceptual approach similar to that of the existing `incremental` materialization:
- In a "full refresh" run, drop and recreate the MV from scratch.
- Otherwise, "refresh" the MV as appropriate. Depending on the database, that could require DML (`refresh`) or no action.
Expand Down