Revert "RS-788 Add support for organic searches with ads to the mobile search…" (#5676)

This reverts commit 9814059423.
This commit is contained in:
Alekhya 2024-05-29 19:29:45 -04:00 коммит произвёл GitHub
Родитель 8a00df9653
Коммит 53ebe05a13
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
10 изменённых файлов: 0 добавлений и 32 удалений

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

@ -22,7 +22,6 @@ SELECT
SUM(search_with_ads) AS search_with_ads,
SUM(unknown) AS unknown,
CAST(NULL AS string) normalized_engine,
SUM(search_with_ads_organic) AS search_with_ads_organic,
FROM
mobile_search_clients_daily_v1
WHERE

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

@ -68,6 +68,3 @@ fields:
- mode: NULLABLE
name: ad_click_organic
type: INTEGER
- mode: NULLABLE
name: search_with_ads_organic
type: INTEGER

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

@ -722,12 +722,6 @@ glean_flattened_searches AS (
SUBSTR(search.key, STRPOS(search.key, '.') + 1),
search.search_type
)
WHEN search.search_type = 'search-with-ads'
THEN IF(
REGEXP_CONTAINS(search.key, '\\.'),
SUBSTR(search.key, STRPOS(search.key, '.') + 1),
search.search_type
)
ELSE search.search_type
END AS source,
search.value AS search_count,
@ -780,8 +774,6 @@ combined_search_clients AS (
CASE
WHEN search_type = 'ad-click'
THEN IF(STARTS_WITH(source, 'in-content.organic'), 'ad-click-organic', search_type)
WHEN search_type = 'search-with-ads'
THEN IF(STARTS_WITH(source, 'in-content.organic'), 'search-with-ads-organic', search_type)
WHEN STARTS_WITH(source, 'in-content.sap.')
THEN 'tagged-sap'
WHEN REGEXP_CONTAINS(source, '^in-content.*-follow-on')
@ -863,15 +855,6 @@ unfiltered_search_clients AS (
search_count
)
) AS search_with_ads,
SUM(
IF(
search_type != 'search-with-ads-organic'
OR engine IS NULL
OR search_count > 10000,
0,
search_count
)
) AS search_with_ads_organic,
SUM(
IF(search_type != 'unknown' OR engine IS NULL OR search_count > 10000, 0, search_count)
) AS unknown,

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

@ -64,11 +64,6 @@
"name": "search_with_ads",
"mode": "NULLABLE"
},
{
"type": "INTEGER",
"name": "search_with_ads_organic",
"mode": "NULLABLE"
},
{
"type": "INTEGER",
"name": "unknown",

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

@ -19,7 +19,6 @@
ad_click: 0
ad_click_organic: 0
search_with_ads: 0
search_with_ads_organic: 0
unknown: 0
- <<: *base
engine: engine1

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

@ -10,7 +10,6 @@
ad_click: 0
ad_click_organic: 0
search_with_ads: 0
search_with_ads_organic: 0
unknown: 0
locale: fr-FR
app_version: 68.2.1

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

@ -11,7 +11,6 @@
ad_click: 0
ad_click_organic: 0
search_with_ads: 0
search_with_ads_organic: 0
unknown: 0
app_version: 68.2.1
app_name: Fennec

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

@ -9,7 +9,6 @@
ad_click: 0
ad_click_organic: 0
search_with_ads: 0
search_with_ads_organic: 0
unknown: 0
locale: en-US
app_version: "30.0"

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

@ -9,7 +9,6 @@
ad_click: 0
ad_click_organic: 0
search_with_ads: 0
search_with_ads_organic: 0
unknown: 0
country: US
os_version: '29'

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

@ -9,7 +9,6 @@
ad_click: 0
ad_click_organic: 0
search_with_ads: 0
search_with_ads_organic: 0
unknown: 0
locale: fr-FR
app_version: 68.2.1