Remove uri_count, active_hours from views. Missing 'AS' added to to query.

This commit is contained in:
lucia-vargas-a 2024-11-17 14:20:39 +01:00
Родитель 55d83ffa59
Коммит 93005c7988
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -5,8 +5,8 @@ WITH todays_metrics AS (
app_name,
app_version AS app_version,
normalized_channel AS channel,
IFNULL(country, '??') country,
IFNULL(city, '??') city,
IFNULL(country, '??') AS country,
IFNULL(city, '??') AS city,
COALESCE(REGEXP_EXTRACT(locale, r'^(.+?)-'), locale, NULL) AS locale,
os,
COALESCE(

Просмотреть файл

@ -3,7 +3,7 @@ CREATE OR REPLACE VIEW
`{{ project_id }}.{{ app_name }}.active_users_aggregates`
AS
SELECT
* EXCEPT (app_version, app_name, uri_count, active_hours),
* EXCEPT (app_version, app_name),
app_name,
app_version,
`mozfun.norm.browser_version_info`(app_version).major_version AS app_version_major,