File tree 3 files changed +12
-12
lines changed
sql/moz-fx-data-shared-prod/telemetry/active_users_aggregates
sql_generators/active_users_aggregates_v4/templates
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,12 @@ SELECT
32
32
app_version_minor,
33
33
app_version_patch_revision,
34
34
app_version_is_major_release,
35
- os_grouped
35
+ os_grouped,
36
+ CASE
37
+ WHEN distribution_id LIKE " %vivo%"
38
+ THEN " vivo"
39
+ ELSE " other"
40
+ END AS partnership,
36
41
FROM
37
42
` moz-fx-data-shared-prod.telemetry.active_users_aggregates_mobile`
38
43
UNION ALL
@@ -68,6 +73,11 @@ SELECT
68
73
app_version_minor,
69
74
app_version_patch_revision,
70
75
app_version_is_major_release,
71
- os_grouped
76
+ os_grouped,
77
+ CASE
78
+ WHEN distribution_id LIKE " %vivo%"
79
+ THEN " vivo"
80
+ ELSE " other"
81
+ END AS partnership,
72
82
FROM
73
83
` moz-fx-data-shared-prod.firefox_desktop.active_users_aggregates`
Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ CREATE OR REPLACE VIEW
44
44
app_version_patch_revision,
45
45
app_version_is_major_release,
46
46
os_grouped,
47
- CASE
48
- WHEN distribution_id LIKE " %vivo%"
49
- THEN " vivo"
50
- ELSE " other"
51
- END AS partnership,
52
47
FROM
53
48
` {{ project_id }}.{{ app_dataset_id }}.active_users_aggregates`
54
49
{% endfor %}
Original file line number Diff line number Diff line change @@ -11,10 +11,5 @@ SELECT
11
11
` mozfun.norm.browser_version_info` (app_version).patch_revision AS app_version_patch_revision,
12
12
` mozfun.norm.browser_version_info` (app_version).is_major_release AS app_version_is_major_release,
13
13
` mozfun.norm.os` (os) AS os_grouped,
14
- CASE
15
- WHEN distribution_id LIKE " %vivo%"
16
- THEN " vivo"
17
- ELSE " other"
18
- END AS partnership,
19
14
FROM
20
15
` {{ project_id }}.{{ app_name }}_derived.{{ table_name }}`
You can’t perform that action at this time.
0 commit comments