Skip to content

Commit ed7a5cd

Browse files
authored
Remove premature filtering by date (#17)
1 parent e40b0a6 commit ed7a5cd

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

macros/get_metric_sql.sql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ with source_query as (
6666

6767
from {{ model }}
6868
where 1=1
69-
{% if start_date %}
70-
and date_day >= '{{ start_date }}'
71-
{% endif %}
72-
{% if end_date %}
73-
and date_day <= '{{ end_date }}'
74-
{% endif %}
7569
{%- for filter in metric.filters %}
7670
and {{ filter.field }} {{ filter.operator }} {{ filter.value }}
7771
{%- endfor %}

0 commit comments

Comments
 (0)