You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
After setting clusters for a materialized view via cluster_by in the Config macro, the order of the clusters is not adopted in the appropriate order as with other table forms, but is mixed according to a pattern that is not apparent.
Expected Behavior
Cluster order is adopted 1:1.
Steps To Reproduce
Create a model as "materialized_view"
Set clusters via cluster_by parameter
See mixed cluster order in target -> run folder or result in BigQuery console
Since the cluster key is being converted into an unordered set rather than an ordered list, then the keys aren't guaranteed to preserve the order by the time we reach here.
Is this a new bug in dbt-bigquery?
Current Behavior
After setting clusters for a materialized view via cluster_by in the Config macro, the order of the clusters is not adopted in the appropriate order as with other table forms, but is mixed according to a pattern that is not apparent.
Expected Behavior
Cluster order is adopted 1:1.
Steps To Reproduce
cluster_by
parametertarget
->run
folder or result in BigQuery consoleExample model:
Result in target folder:
Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: