Add normalized engine to mobile search daily table (#4696)
* Add normalized engine to mobile search daily table * Add the view changes
This commit is contained in:
Родитель
32b88e8e4b
Коммит
74487c6724
|
@ -2,10 +2,12 @@ CREATE OR REPLACE VIEW
|
|||
`moz-fx-data-shared-prod.search.mobile_search_clients_engines_sources_daily`
|
||||
AS
|
||||
SELECT
|
||||
* EXCEPT (normalized_engine),
|
||||
* EXCEPT (normalized_engine, normalized_app_name),
|
||||
`moz-fx-data-shared-prod`.udf.normalize_search_engine(engine) AS normalized_engine,
|
||||
`mozfun.mobile_search.normalize_app_name`(app_name, os).normalized_app_name AS normalized_app_name,
|
||||
`mozfun.norm.browser_version_info`(app_version) AS browser_version_info,
|
||||
search_count AS sap,
|
||||
`mozfun.mobile_search.normalize_app_name`(app_name, os).normalized_app_name_os
|
||||
FROM
|
||||
`moz-fx-data-shared-prod.search_derived.mobile_search_clients_daily_v1`
|
||||
WHERE
|
||||
|
|
|
@ -876,6 +876,7 @@ unfiltered_search_clients AS (
|
|||
ANY_VALUE(sample_id) AS sample_id,
|
||||
udf.map_mode_last(ARRAY_CONCAT_AGG(experiments)) AS experiments,
|
||||
SUM(total_uri_count) AS total_uri_count,
|
||||
CAST(NULL AS STRING) AS normalized_engine
|
||||
FROM
|
||||
combined_search_clients
|
||||
WHERE
|
||||
|
|
Загрузка…
Ссылка в новой задаче