From 065eba870a59b7acf65864cb075d3b3cebbdadc5 Mon Sep 17 00:00:00 2001 From: Ivan Zerin Date: Fri, 19 Jul 2019 18:47:06 +0300 Subject: [PATCH] Eliminate possible exception due to narrow type used for timing performance --- .../page_views/snowplow_page_views.sql | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/macros/adapters/default/page_views/snowplow_page_views.sql b/macros/adapters/default/page_views/snowplow_page_views.sql index a184130..fb4d359 100644 --- a/macros/adapters/default/page_views/snowplow_page_views.sql +++ b/macros/adapters/default/page_views/snowplow_page_views.sql @@ -283,18 +283,18 @@ prep as ( e.onload_time_in_ms, e.total_time_in_ms, {% else %} - null::integer as redirect_time_in_ms, - null::integer as unload_time_in_ms, - null::integer as app_cache_time_in_ms, - null::integer as dns_time_in_ms, - null::integer as tcp_time_in_ms, - null::integer as request_time_in_ms, - null::integer as response_time_in_ms, - null::integer as processing_time_in_ms, - null::integer as dom_loading_to_interactive_time_in_ms, - null::integer as dom_interactive_to_complete_time_in_ms, - null::integer as onload_time_in_ms, - null::integer as total_time_in_ms, + null::bigint as redirect_time_in_ms, + null::bigint as unload_time_in_ms, + null::bigint as app_cache_time_in_ms, + null::bigint as dns_time_in_ms, + null::bigint as tcp_time_in_ms, + null::bigint as request_time_in_ms, + null::bigint as response_time_in_ms, + null::bigint as processing_time_in_ms, + null::bigint as dom_loading_to_interactive_time_in_ms, + null::bigint as dom_interactive_to_complete_time_in_ms, + null::bigint as onload_time_in_ms, + null::bigint as total_time_in_ms, {% endif %} -- device