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
feat: add BigQuery partitioning and clustering to data_monitoring_metrics (#972)
- Rename get_default_partition_by -> get_partition_by(column='created_at')
with a column parameter so models can specify their partition column.
A backward-compatible alias get_default_partition_by is kept.
- Create new get_cluster_by(columns) macro with adapter dispatch pattern.
Returns columns list on BigQuery, none on other adapters.
Controlled by a separate bigquery_disable_clustering flag.
- Apply partition_by (on bucket_end) and cluster_by (full_table_name,
metric_name) to data_monitoring_metrics.
- Update existing callers (dbt_run_results, dbt_invocations) to use
the renamed get_partition_by macro.
- Add integration tests for data_monitoring_metrics partitioning and
clustering on BigQuery.
Resolves ELE-5300
Co-authored-by: Itamar Hartstein <haritamar@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
0 commit comments