Add android_state_v2 to view (#4876)
* Add android_state_v2 to view * Add new state function to client_ltv view
This commit is contained in:
Родитель
562544690f
Коммит
dfa1208d81
|
@ -35,6 +35,21 @@ with_states AS (
|
|||
) AS state,
|
||||
'android_states_v1' AS state_function
|
||||
),
|
||||
STRUCT(
|
||||
mozfun.ltv.android_states_v2(
|
||||
adjust_network,
|
||||
days_since_first_seen,
|
||||
days_since_seen,
|
||||
{{ death_time }},
|
||||
as_of_date,
|
||||
first_seen_date,
|
||||
activity_pattern,
|
||||
active_on_this_date,
|
||||
{{ max_weeks }},
|
||||
first_reported_country
|
||||
) AS state,
|
||||
'android_states_v2' AS state_function
|
||||
),
|
||||
STRUCT(
|
||||
mozfun.ltv.android_states_with_paid_v1(
|
||||
adjust_network,
|
||||
|
|
|
@ -29,6 +29,18 @@ SELECT
|
|||
{{ max_weeks }},
|
||||
first_reported_country
|
||||
) AS android_states_v1,
|
||||
mozfun.ltv.android_states_v2(
|
||||
adjust_network,
|
||||
days_since_first_seen,
|
||||
days_since_seen,
|
||||
{{ death_time }},
|
||||
submission_date,
|
||||
first_seen_date,
|
||||
activity_pattern,
|
||||
active_on_this_date,
|
||||
{{ max_weeks }},
|
||||
first_reported_country
|
||||
) AS android_states_v2,
|
||||
mozfun.ltv.android_states_with_paid_v1(
|
||||
adjust_network,
|
||||
days_since_first_seen,
|
||||
|
|
Загрузка…
Ссылка в новой задаче