Closed ChrisBlom closed 3 months ago
Hi @ChrisBlom, could you please share what version of @dataform/cli you are using?
Seems like the issue was fixed in #1660. Could you try updating the CLI version and let us know if that helps?
I was using 2.8.3, can confirm that it work in 2.9.0 so the issue can be closed
Currently it is not possible to set CLUSTER BY or PARTITION BY options on a materialized view in dataform, even though this is supported
One can set cluster / partition options on materialized views when using SQL:
See: https://cloud.google.com/bigquery/docs/materialized-views-create#cluster_materialized_views https://cloud.google.com/bigquery/docs/materialized-views-create#partitioned_materialized_views
One would expect that the same format used to set clustering and partition options for tables is usable to define materalized views with clustering and partitioning,
But this results in a compilation error:
Would it be possible to add support for CLUSTER BY and PARTITION BY to materialized views?