Move materialized view into init.sql files
This commit is contained in:
Родитель
8094ed7a75
Коммит
789f476cd2
|
@ -23,11 +23,6 @@ VIEWS_TO_SKIP = (
|
|||
# Dataset glam-fenix-dev:glam_etl was not found
|
||||
# TODO: this should be removed if views are to be automatically deployed
|
||||
*[str(path) for path in Path("sql/glam-fenix-dev").glob("glam_etl/**/view.sql")],
|
||||
# Materialized views
|
||||
"telemetry_derived/experiment_events_live_v1/view.sql",
|
||||
"org_mozilla_firefox_derived/experiment_events_live_v1/view.sql",
|
||||
"org_mozilla_firefox_beta_derived/experiment_events_live_v1/view.sql",
|
||||
"org_mozilla_fenix_derived/experiment_events_live_v1/view.sql",
|
||||
)
|
||||
|
||||
# suffixes of datasets with non-user-facing views
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
friendly_name: Experiment Events Live
|
||||
description: |-
|
||||
Materialized view of experimentation related events
|
||||
coming from Fenix clients.
|
||||
coming from Fenix nightly clients.
|
||||
owners:
|
||||
- ascholtz@mozilla.com
|
||||
labels:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
friendly_name: Experiment Events Live
|
||||
description: |-
|
||||
Materialized view of experimentation related events
|
||||
coming from Fenix clients.
|
||||
coming from Fenix release clients.
|
||||
owners:
|
||||
- ascholtz@mozilla.com
|
||||
labels:
|
||||
|
|
|
@ -7,7 +7,7 @@ SELECT
|
|||
branch,
|
||||
sum(`enroll_count`) AS value
|
||||
FROM
|
||||
`moz-fx-data-shared-prod.telemetry_derived.experiment_enrollment_aggregates_live`
|
||||
`moz-fx-data-shared-prod.telemetry_derived.experiment_enrollment_aggregates_live_v1`
|
||||
GROUP BY
|
||||
1,
|
||||
2,
|
||||
|
|
Загрузка…
Ссылка в новой задаче