We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea6d7ae commit 43cd259Copy full SHA for 43cd259
1 file changed
macros/utils/time_macros.sql
@@ -61,8 +61,8 @@
61
{% endmacro %}
62
63
{% macro bigquery__in_time_window(time_column) %}
64
- timestamp({{time_column}}) >= {{ time_window_start() }} and
65
- timestamp({{time_column}}) < {{ time_window_end() }}
+ cast({{time_column}} as timestamp) >= {{ time_window_start() }} and
+ cast({{time_column}} as timestamp) < {{ time_window_end() }}
66
67
68
0 commit comments