Open makermary opened 2 years ago
This would be an extremely helpful feature to have for us. Thank you.
Definitely appreciate if this becomes a feature!
@makermary Very cool, thanks for opening! I'll take a look in the next couple days. The MV code needs a bit of a refresh as is.
@makermary Very cool, thanks for opening! I'll take a look in the next couple days. The MV code needs a bit of a refresh as is.
Have you had any more thoughts on this @jtcohen6? This would be really useful for us.
Having recently become enamored of BQ's clustering, this could be a huge help for us.
Also I noticed @lihan's new PR:
covers much the same territory.
From the dbt labs side, what would it take to get either of these contributions to included status?
Using logic similar to the partition/cluster code for a regular table, this commit adds this functionality to the bigquery materialized_view feature.
Tested by replacing the code in my local install of dbt-labs-experimental-features. If a materialized view already exists without partitions, users must do a --full-refresh for the partition to exist.
Solves #28.