diff --git a/warehouse/dbt/models/intermediate/metrics/code/int_code_metric__time_to_merge_days_average.sql b/warehouse/dbt/models/intermediate/metrics/code/int_code_metric__time_to_merge_days_average.sql index 08ee27262..aa0610b86 100644 --- a/warehouse/dbt/models/intermediate/metrics/code/int_code_metric__time_to_merge_days_average.sql +++ b/warehouse/dbt/models/intermediate/metrics/code/int_code_metric__time_to_merge_days_average.sql @@ -32,6 +32,7 @@ time_to_merge as ( on pr.number = m.number and pr.to_artifact_id = m.to_artifact_id + where m.merged_at > pr.created_at ), time_to_merge_events as (