diff --git a/warehouse/metrics_mesh/models/first_of_event_from_artifact.sql b/warehouse/metrics_mesh/models/first_of_event_from_artifact.sql index 2b2d2992..4184c7aa 100644 --- a/warehouse/metrics_mesh/models/first_of_event_from_artifact.sql +++ b/warehouse/metrics_mesh/models/first_of_event_from_artifact.sql @@ -1,7 +1,7 @@ MODEL ( name metrics.first_of_event_from_artifact, kind FULL, - partitioned_by (day("time"), "event_type", "event_source"), + partitioned_by (year("time"), "event_type", "event_source"), grain ( time, event_type, diff --git a/warehouse/metrics_mesh/models/last_of_event_from_artifact.sql b/warehouse/metrics_mesh/models/last_of_event_from_artifact.sql index 0b923df8..73712981 100644 --- a/warehouse/metrics_mesh/models/last_of_event_from_artifact.sql +++ b/warehouse/metrics_mesh/models/last_of_event_from_artifact.sql @@ -1,7 +1,7 @@ MODEL ( name metrics.last_of_event_from_artifact, kind FULL, - partitioned_by (day("time"), "event_type", "event_source"), + partitioned_by (year("time"), "event_type", "event_source"), grain ( time, event_type,