Skip to content

Commit 45069bd

Browse files
committed
add aliases for os_version and os, and add first_seen_year field to the active_users view
1 parent dfaec9d commit 45069bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sql_generators/mobile_kpi_support_metrics/templates/active_users.view.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ SELECT
6060
ELSE
6161
CAST(NULL AS STRING)
6262
END AS device_type,
63+
EXTRACT(YEAR FROM first_seen_date) AS first_seen_year,
6364
app_display_version AS app_version,
65+
normalized_os AS os,
66+
normalized_os_version AS os_version,
67+
normalized_channel AS channel,
6468
FROM
6569
`{{ project_id }}.{{ dataset }}.baseline_clients_last_seen`

0 commit comments

Comments
 (0)