From da39548f09403e6557988c5dc076411bf4fef1fa Mon Sep 17 00:00:00 2001 From: Reuven Gonzales Date: Fri, 16 Aug 2024 10:13:10 -0700 Subject: [PATCH] Attempt to use partitioning for developer days (#1961) --- ..._timeseries_code_metrics_by_artifact_developer_days.sql | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/warehouse/dbt/models/intermediate/metrics/timeseries/int_timeseries_code_metrics_by_artifact_developer_days.sql b/warehouse/dbt/models/intermediate/metrics/timeseries/int_timeseries_code_metrics_by_artifact_developer_days.sql index 96f8aa214..deaa28896 100644 --- a/warehouse/dbt/models/intermediate/metrics/timeseries/int_timeseries_code_metrics_by_artifact_developer_days.sql +++ b/warehouse/dbt/models/intermediate/metrics/timeseries/int_timeseries_code_metrics_by_artifact_developer_days.sql @@ -1,6 +1,11 @@ {{ config( - materialized='table' + materialized='table', + partition_by={ + "field": "bucket_day", + "data_type": "timestamp", + "granularity": "day", + } ) }}