feat: add geo.subdivision1 to baseline_clients_daily_v1 query tempalte (glean_usage generator) (#5611)
This commit is contained in:
Родитель
1162edfc20
Коммит
b4602805d9
|
@ -25,6 +25,7 @@ WITH base AS (
|
|||
normalized_os,
|
||||
normalized_os_version,
|
||||
metrics.string.metrics_distribution_id AS distribution_id,
|
||||
metadata.geo.subdivision1 AS geo_subdivision,
|
||||
FROM
|
||||
`{{ baseline_table }}`
|
||||
-- Baseline pings with 'foreground' reason were first introduced in early April 2020;
|
||||
|
@ -92,6 +93,7 @@ windowed AS (
|
|||
udf.mode_last(ARRAY_AGG(device_model) OVER w1) AS device_model,
|
||||
udf.mode_last(ARRAY_AGG(telemetry_sdk_build) OVER w1) AS telemetry_sdk_build,
|
||||
udf.mode_last(ARRAY_AGG(distribution_id) OVER w1) AS distribution_id,
|
||||
udf.mode_last(ARRAY_AGG(geo_subdivision) OVER w1) AS geo_subdivision,
|
||||
FROM
|
||||
with_date_offsets
|
||||
WHERE
|
||||
|
|
|
@ -275,6 +275,12 @@
|
|||
"type": "STRING",
|
||||
"name": "glean_baseline_locale",
|
||||
"mode": "NULLABLE"
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"type": "STRING",
|
||||
"name": "metrics_distribution_id",
|
||||
"mode": "NULLABLE"
|
||||
}
|
||||
],
|
||||
"type": "RECORD",
|
||||
|
|
|
@ -275,6 +275,12 @@
|
|||
"type": "STRING",
|
||||
"name": "glean_baseline_locale",
|
||||
"mode": "NULLABLE"
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"type": "STRING",
|
||||
"name": "metrics_distribution_id",
|
||||
"mode": "NULLABLE"
|
||||
}
|
||||
],
|
||||
"type": "RECORD",
|
||||
|
|
|
@ -275,6 +275,12 @@
|
|||
"type": "STRING",
|
||||
"name": "glean_baseline_locale",
|
||||
"mode": "NULLABLE"
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"type": "STRING",
|
||||
"name": "metrics_distribution_id",
|
||||
"mode": "NULLABLE"
|
||||
}
|
||||
],
|
||||
"type": "RECORD",
|
||||
|
|
|
@ -275,6 +275,12 @@
|
|||
"type": "STRING",
|
||||
"name": "glean_baseline_locale",
|
||||
"mode": "NULLABLE"
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"type": "STRING",
|
||||
"name": "metrics_distribution_id",
|
||||
"mode": "NULLABLE"
|
||||
}
|
||||
],
|
||||
"type": "RECORD",
|
||||
|
|
Загрузка…
Ссылка в новой задаче