Use fully-qualified targets in glean_usage view creation (#1943)
Follow-up to https://github.com/mozilla/bigquery-etl/pull/1941
This commit is contained in:
Родитель
459f64576c
Коммит
d00cdc507d
|
@ -1,7 +1,7 @@
|
|||
{{ header }}
|
||||
|
||||
CREATE OR REPLACE VIEW
|
||||
`{{ daily_view }}`
|
||||
`{{ project_id }}.{{ daily_view }}`
|
||||
AS
|
||||
SELECT
|
||||
*
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ header }}
|
||||
|
||||
CREATE OR REPLACE VIEW
|
||||
`{{ first_seen_view }}`
|
||||
`{{ project_id }}.{{ first_seen_view }}`
|
||||
AS
|
||||
SELECT
|
||||
*
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ header }}
|
||||
|
||||
CREATE OR REPLACE VIEW
|
||||
`{{ last_seen_view }}`
|
||||
`{{ project_id }}.{{ last_seen_view }}`
|
||||
AS
|
||||
SELECT
|
||||
{% for ut in usage_types %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
-- Generated via bigquery_etl.glean_usage
|
||||
CREATE OR REPLACE VIEW
|
||||
`org_mozilla_fenix.baseline_clients_daily`
|
||||
`moz-fx-data-shared-prod.org_mozilla_fenix.baseline_clients_daily`
|
||||
AS
|
||||
SELECT
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
-- Generated via bigquery_etl.glean_usage
|
||||
CREATE OR REPLACE VIEW
|
||||
`org_mozilla_fenix.baseline_clients_last_seen`
|
||||
`moz-fx-data-shared-prod.org_mozilla_fenix.baseline_clients_last_seen`
|
||||
AS
|
||||
SELECT
|
||||
`moz-fx-data-shared-prod`.udf.pos_of_trailing_set_bit(days_seen_bits) AS days_since_seen,
|
||||
|
|
Загрузка…
Ссылка в новой задаче