Skip to content

Commit

Permalink
swap perf timing order (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlambertgrove authored Aug 23, 2021
1 parent 606c37d commit 7604394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/page_views/optional/snowplow_web_timing_context.sql
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ prep as (
{% set ts_columns = ['pt.response_end', 'pt.unload_event_start', 'pt.unload_event_end'] %}
{% for ts_column in ts_columns %}

and {{ dbt_utils.datediff(dbt_utils.dateadd('millisecond', ts_column, "'1970-01-01'"), 'pt.root_tstamp', 'day') }} < 365
and {{ dbt_utils.datediff('pt.root_tstamp', dbt_utils.dateadd('millisecond', ts_column, "'1970-01-01'"), 'day') }} < 365

{% endfor %}

Expand Down

0 comments on commit 7604394

Please sign in to comment.