Skip to content

Commit

Permalink
Fix field type
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessnowplow committed Oct 13, 2023
1 parent f68106d commit 46b2bcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions macros/field_extractions/get_browser_context_fields.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You may obtain a copy of the Snowplow Community License Version 1.0 at https://d
, cast(null as {{ type_boolean() }}) as browser__online
, cast(null as {{ snowplow_utils.type_max_string() }}) as browser__browser_language
, cast(null as {{ snowplow_utils.type_max_string() }}) as browser__document_language
, cast(null as {{ snowplow_utils.type_max_string() }}) as browser__webdriver
, cast(null as {{ type_boolean() }}) as browser__webdriver
, cast(null as {{ type_int() }}) as browser__device_memory
, cast(null as {{ type_int() }}) as browser__hardware_concurrency
, cast(null as {{ snowplow_utils.type_max_string() }}) as browser__tab_id
Expand All @@ -40,7 +40,7 @@ You may obtain a copy of the Snowplow Community License Version 1.0 at https://d
{'field':('online', 'browser__online'), 'dtype':'boolean'},
{'field':('browser_language', 'browser__browser_language'), 'dtype':'string'},
{'field':('document_language', 'browser__document_language'), 'dtype':'string'},
{'field':('webdriver', 'browser__webdriver'), 'dtype':'string'},
{'field':('webdriver', 'browser__webdriver'), 'dtype':'boolean'},
{'field':('device_memory', 'browser__device_memory'), 'dtype':'integer'},
{'field':('hardware_concurrency', 'browser__hardware_concurrency'), 'dtype':'integer'},
{'field':('tab_id', 'browser__tab_id'), 'dtype':'string'}
Expand All @@ -63,7 +63,7 @@ You may obtain a copy of the Snowplow Community License Version 1.0 at https://d
, cast(null as {{ type_boolean() }}) as browser__online
, cast(null as {{ type_string() }}) as browser__browser_language
, cast(null as {{ type_string() }}) as browser__document_language
, cast(null as {{ type_string() }}) as browser__webdriver
, cast(null as {{ type_boolean() }}) as browser__webdriver
, cast(null as {{ type_int() }}) as browser__device_memory
, cast(null as {{ type_int() }}) as browser__hardware_concurrency
, cast(null as {{ type_string() }}) as browser__tab_id
Expand Down Expand Up @@ -128,7 +128,7 @@ You may obtain a copy of the Snowplow Community License Version 1.0 at https://d
, cast(null as {{ type_boolean() }}) as browser__online
, cast(null as {{ type_string() }}) as browser__browser_language
, cast(null as {{ type_string() }}) as browser__document_language
, cast(null as {{ type_string() }}) as browser__webdriver
, cast(null as {{ type_boolean() }}) as browser__webdriver
, cast(null as {{ type_int() }}) as browser__device_memory
, cast(null as {{ type_int() }}) as browser__hardware_concurrency
, cast(null as {{ type_string() }}) as browser__tab_id
Expand Down

0 comments on commit 46b2bcb

Please sign in to comment.