Skip to content

Commit

Permalink
Use ua_browser instead of version (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbertsch committed May 19, 2020
1 parent 5d50418 commit f9da973
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -98,7 +98,7 @@ grouped_by_user AS (
) AS ua_version,
`moz-fx-data-shared-prod`.udf.mode_last(
ARRAY_AGG(
JSON_EXTRACT_SCALAR(jsonPayload.fields.user_properties, "$.ua_version") IGNORE NULLS
JSON_EXTRACT_SCALAR(jsonPayload.fields.user_properties, "$.ua_browser") IGNORE NULLS
)
) AS ua_browser,
MAX(CAST(jsonPayload.fields.app_version AS FLOAT64)) AS app_version,
Expand Down

0 comments on commit f9da973

Please sign in to comment.