* Update schema to be nested under field object * Update schemas for glam-fenix-dev
This commit is contained in:
Родитель
b5b10ec5bb
Коммит
08c406c384
|
@ -190,7 +190,7 @@ def update_schemas(project, dataset, src_dataset):
|
|||
for path in sql_root.glob("*"):
|
||||
print(f"fetching schema for {path.name}")
|
||||
# we can update the schema with the development version of the schema
|
||||
schema = get_schema(f"{src_dataset}.{path.name}", project)
|
||||
schema = dict(fields=get_schema(f"{src_dataset}.{path.name}", project))
|
||||
with (path / "schema.yaml").open("w") as fp:
|
||||
yaml.dump(schema, fp)
|
||||
|
||||
|
|
|
@ -434,6 +434,21 @@ histograms AS (
|
|||
"timing_distribution",
|
||||
metrics.timing_distribution.perf_startup_home_fragment_on_view_created.values
|
||||
),
|
||||
(
|
||||
"performance_clone_deserialize_items",
|
||||
"custom_distribution",
|
||||
metrics.custom_distribution.performance_clone_deserialize_items.values
|
||||
),
|
||||
(
|
||||
"performance_clone_deserialize_size",
|
||||
"memory_distribution",
|
||||
metrics.memory_distribution.performance_clone_deserialize_size.values
|
||||
),
|
||||
(
|
||||
"performance_clone_deserialize_time",
|
||||
"timing_distribution",
|
||||
metrics.timing_distribution.performance_clone_deserialize_time.values
|
||||
),
|
||||
(
|
||||
"performance_interaction_keypress_present_latency",
|
||||
"timing_distribution",
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: sample_id
|
||||
type: INTEGER
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -56,6 +56,34 @@ unlabeled_metrics AS (
|
|||
'true',
|
||||
SUM(CAST(metrics.boolean.addons_has_installed_addons AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_enabled',
|
||||
'boolean',
|
||||
'',
|
||||
'false',
|
||||
SUM(CAST(NOT metrics.boolean.android_autofill_enabled AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_enabled',
|
||||
'boolean',
|
||||
'',
|
||||
'true',
|
||||
SUM(CAST(metrics.boolean.android_autofill_enabled AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_supported',
|
||||
'boolean',
|
||||
'',
|
||||
'false',
|
||||
SUM(CAST(NOT metrics.boolean.android_autofill_supported AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_supported',
|
||||
'boolean',
|
||||
'',
|
||||
'true',
|
||||
SUM(CAST(metrics.boolean.android_autofill_supported AS INT64))
|
||||
),
|
||||
(
|
||||
'avif_aom_decode_error',
|
||||
'quantity',
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: sample_id
|
||||
type: INTEGER
|
||||
- name: client_id
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: client_id
|
||||
type: STRING
|
||||
- name: ping_type
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: sample_id
|
||||
type: INTEGER
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: channel
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: channel
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: metric
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: ping_type
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: ping_type
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: channel
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: ping_type
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: ping_type
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: ping_type
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: sample_id
|
||||
type: INTEGER
|
||||
- name: client_id
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: client_id
|
||||
type: STRING
|
||||
- name: ping_type
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: ping_type
|
||||
type: STRING
|
||||
- name: os
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: ping_type
|
||||
type: STRING
|
||||
- name: os
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: sample_id
|
||||
type: INTEGER
|
||||
|
|
|
@ -56,6 +56,34 @@ unlabeled_metrics AS (
|
|||
'true',
|
||||
SUM(CAST(metrics.boolean.addons_has_installed_addons AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_enabled',
|
||||
'boolean',
|
||||
'',
|
||||
'false',
|
||||
SUM(CAST(NOT metrics.boolean.android_autofill_enabled AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_enabled',
|
||||
'boolean',
|
||||
'',
|
||||
'true',
|
||||
SUM(CAST(metrics.boolean.android_autofill_enabled AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_supported',
|
||||
'boolean',
|
||||
'',
|
||||
'false',
|
||||
SUM(CAST(NOT metrics.boolean.android_autofill_supported AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_supported',
|
||||
'boolean',
|
||||
'',
|
||||
'true',
|
||||
SUM(CAST(metrics.boolean.android_autofill_supported AS INT64))
|
||||
),
|
||||
(
|
||||
'avif_aom_decode_error',
|
||||
'quantity',
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: sample_id
|
||||
type: INTEGER
|
||||
- name: client_id
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: client_id
|
||||
type: STRING
|
||||
- name: ping_type
|
||||
|
|
|
@ -434,6 +434,21 @@ histograms AS (
|
|||
"timing_distribution",
|
||||
metrics.timing_distribution.perf_startup_home_fragment_on_view_created.values
|
||||
),
|
||||
(
|
||||
"performance_clone_deserialize_items",
|
||||
"custom_distribution",
|
||||
metrics.custom_distribution.performance_clone_deserialize_items.values
|
||||
),
|
||||
(
|
||||
"performance_clone_deserialize_size",
|
||||
"memory_distribution",
|
||||
metrics.memory_distribution.performance_clone_deserialize_size.values
|
||||
),
|
||||
(
|
||||
"performance_clone_deserialize_time",
|
||||
"timing_distribution",
|
||||
metrics.timing_distribution.performance_clone_deserialize_time.values
|
||||
),
|
||||
(
|
||||
"performance_interaction_keypress_present_latency",
|
||||
"timing_distribution",
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: sample_id
|
||||
type: INTEGER
|
||||
|
|
|
@ -56,6 +56,34 @@ unlabeled_metrics AS (
|
|||
'true',
|
||||
SUM(CAST(metrics.boolean.addons_has_installed_addons AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_enabled',
|
||||
'boolean',
|
||||
'',
|
||||
'false',
|
||||
SUM(CAST(NOT metrics.boolean.android_autofill_enabled AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_enabled',
|
||||
'boolean',
|
||||
'',
|
||||
'true',
|
||||
SUM(CAST(metrics.boolean.android_autofill_enabled AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_supported',
|
||||
'boolean',
|
||||
'',
|
||||
'false',
|
||||
SUM(CAST(NOT metrics.boolean.android_autofill_supported AS INT64))
|
||||
),
|
||||
(
|
||||
'android_autofill_supported',
|
||||
'boolean',
|
||||
'',
|
||||
'true',
|
||||
SUM(CAST(metrics.boolean.android_autofill_supported AS INT64))
|
||||
),
|
||||
(
|
||||
'avif_aom_decode_error',
|
||||
'quantity',
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- mode: NULLABLE
|
||||
name: client_id
|
||||
type: STRING
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: sample_id
|
||||
type: INTEGER
|
||||
- name: client_id
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
fields:
|
||||
- name: client_id
|
||||
type: STRING
|
||||
- name: ping_type
|
||||
|
|
Загрузка…
Ссылка в новой задаче