Skip to content

Commit 6139665

Browse files
committed
feat: add app_version and is_desktop fields to enterprise_metrics_clients_legacy_v1
1 parent f3b549f commit 6139665

File tree

2 files changed

+17
-1
lines changed
  • sql/moz-fx-data-shared-prod/firefox_desktop_derived/enterprise_metrics_clients_legacy_v1

2 files changed

+17
-1
lines changed

sql/moz-fx-data-shared-prod/firefox_desktop_derived/enterprise_metrics_clients_legacy_v1/query.sql

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ WITH daily_users AS (
44
client_id,
55
sample_id,
66
normalized_channel,
7+
app_version,
8+
is_desktop,
79
is_dau,
810
FROM
911
`moz-fx-data-shared-prod.telemetry.desktop_active_users`
@@ -46,8 +48,10 @@ SELECT
4648
client_id,
4749
sample_id,
4850
normalized_channel,
49-
is_dau,
51+
app_version,
5052
distribution_id,
53+
is_dau,
54+
is_desktop,
5155
policies_count,
5256
policies_is_enterprise,
5357
FROM

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ fields:
2424
description: |
2525
Normalized channel the application is being distributed on. For example, release, beta, etc.
2626
27+
- mode: NULLABLE
28+
name: app_version
29+
type: STRING
30+
description: |
31+
User visible version string (e.g. "1.0.3") for the browser.
32+
2733
- mode: NULLABLE
2834
name: distribution_id
2935
type: STRING
@@ -36,6 +42,12 @@ fields:
3642
description: |
3743
Indicates whether the client met our definition of dau on the day.
3844
45+
- mode: NULLABLE
46+
name: is_desktop
47+
type: BOOLEAN
48+
description: |
49+
Indicates whether the client met conditions to be counted as Desktop DAU on the day.
50+
3951
- mode: NULLABLE
4052
name: policies_count
4153
type: INTEGER

0 commit comments

Comments
 (0)