Skip to content

Commit 940348b

Browse files
authored
Update train.sql
1 parent ef77861 commit 940348b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

metrics/defaults/sql/train.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ where
1616
metric_batch = '{{ metric_batch }}'
1717
and
1818
metric_type = 'metric'
19+
and
20+
metric_timestamp >= date('now', '-{{ train_metric_timestamp_max_days_ago }} day')
1921
{% if train_exclude_metrics is defined %}
2022
and
2123
-- Exclude the specified metrics

0 commit comments

Comments
 (0)