dbt-labs / dbt-bigquery

dbt-bigquery contains all of the code required to make dbt operate on a BigQuery database.
https://github.com/dbt-labs/dbt-bigquery
Apache License 2.0
215 stars 149 forks source link

[ADAP-464] Materialized Views - Non-incremental support #672

Open Fleid opened 1 year ago

Fleid commented 1 year ago

As commented in the core MV thread, BigQuery is adding support for non-incremental MVs.

From our side, it means that we have an additional setting to support for MVs in BQ: allow_non_incremental_definition: true/false. This setting is covered by on_configuration_change via DROP/CREATE since it can't be changed via ALTER.

When set, it requires max_staleness to be set. I'd rather leave BQ errors out here for now - this is a preview feature and I'm not sure this won't change before GA. We should not check this.


BigQuery

BigQuery Materialized Views

Fleid commented 1 year ago

@mikealfare FYI

bnaul commented 11 months ago

@Fleid @mikealfare this has been out there for a while now, I think it's basically impossible at this point that they would drastically change the functionality, as they have written it up and pulled it into official client libraries. ~Happy to try my hand at a PR for adding this if it would be welcome!~ Changing to an "ask for forgiveness instead of permission" approach https://github.com/dbt-labs/dbt-bigquery/pull/1011

LuigiCerone commented 1 month ago

Hello, any update on this? :)