migrates old pingcentre onboarding artifacts to new firefox_desktop view (#4457)
* migrates old pingcentre onboarding artifacts to new firefox_desktop view * generate event rollup dag * generate review checker dag * update messaging system dag * incl project in table names --------- Co-authored-by: Anna Scholtz <anna@scholtzan.net>
This commit is contained in:
Родитель
dc3864fbc4
Коммит
4d0b0cb370
|
@ -9,7 +9,7 @@ WITH microsurvey_responses AS (
|
|||
'SHOPPING_MICROSURVEY_(\\d)_SHOPPING_MICROSURVEY_SCREEN_.*'
|
||||
) AS question_index
|
||||
FROM
|
||||
messaging_system.onboarding
|
||||
`moz-fx-data-shared-prod.firefox_desktop.onboarding`
|
||||
WHERE
|
||||
DATE(submission_timestamp) = @submission_date
|
||||
AND message_id LIKE '%SHOPPING%'
|
||||
|
|
|
@ -28,4 +28,4 @@ SELECT
|
|||
(SELECT ARRAY_AGG(STRUCT(key, value.branch AS value)) FROM UNNEST(experiments)) AS experiments,
|
||||
* EXCEPT (experiments)
|
||||
FROM
|
||||
`moz-fx-data-shared-prod.messaging_system_stable.onboarding_v1`
|
||||
`moz-fx-data-shared-prod.firefox_desktop.onboarding`
|
||||
|
|
|
@ -10,7 +10,7 @@ WITH windowed AS (
|
|||
udf.mode_last(ARRAY_AGG(metadata.geo.country) OVER w1) AS country,
|
||||
udf.mode_last(ARRAY_AGG(version) OVER w1) AS version
|
||||
FROM
|
||||
messaging_system.onboarding
|
||||
`moz-fx-data-shared-prod.firefox_desktop.onboarding`
|
||||
WHERE
|
||||
-- Reprocess all dates by running this query with --parameter=submission_date:DATE:NULL
|
||||
(@submission_date IS NULL OR @submission_date = DATE(submission_timestamp))
|
||||
|
|
Загрузка…
Ссылка в новой задаче