Skip to content

Commit be007e4

Browse files
authored
feat(DENG-9972): Remove browser_backup_enabled column & add browser_backup_archive_enabled column (#8462)
1 parent 58aafbc commit be007e4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

sql/moz-fx-data-shared-prod/firefox_desktop_derived/metrics_clients_daily_v1/schema.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ fields:
9898
type: STRING
9999
mode: NULLABLE
100100
description: The application version installed by the installer (not necessarily the current version)
101-
- name: browser_backup_enabled
102-
type: BOOLEAN
103-
mode: NULLABLE
104-
description: True if the BackupService has initialized and reached idle.
105101
- name: browser_backup_scheduler_enabled
106102
type: BOOLEAN
107103
mode: NULLABLE
108104
description: True if the BackupService is configured to automatically create backups in the background.
105+
- name: browser_backup_archive_enabled
106+
type: BOOLEAN
107+
mode: NULLABLE
108+
description: True if the user can create backups, i.e. it has not been disabled by a pref or otherwise deemed incompatible.

sql_generators/glean_usage/templates/metrics_clients_daily.query.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,12 @@
324324
ORDER BY
325325
submission_timestamp
326326
)[SAFE_OFFSET(0)] AS installation_first_seen_version,
327-
mozfun.stats.mode_last(
328-
ARRAY_AGG(metrics.boolean.browser_backup_enabled ORDER BY submission_timestamp)
329-
) AS browser_backup_enabled,
330327
mozfun.stats.mode_last(
331328
ARRAY_AGG(metrics.boolean.browser_backup_scheduler_enabled ORDER BY submission_timestamp)
332-
) AS browser_backup_scheduler_enabled
329+
) AS browser_backup_scheduler_enabled,
330+
mozfun.stats.mode_last(
331+
ARRAY_AGG(metrics.boolean.browser_backup_archive_enabled ORDER BY submission_timestamp)
332+
) AS browser_backup_archive_enabled
333333
{% endif -%}
334334
FROM
335335
`moz-fx-data-shared-prod.{{ dataset }}.metrics` AS m

0 commit comments

Comments
 (0)