Skip to content

Commit 3be7e38

Browse files
committed
revised suggest category naming
1 parent 824d8e6 commit 3be7e38

File tree

1 file changed

+5
-2
lines changed
  • sql/mozfun/norm/result_type_to_product_name

1 file changed

+5
-2
lines changed

sql/mozfun/norm/result_type_to_product_name/udf.sql

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ RETURNS STRING AS (
7575
THEN 'merino_market_opt_in'
7676
WHEN res IN ('tab_serp')
7777
THEN 'open_tab_to_serp'
78+
WHEN res IN ('merino_sports')
79+
THEN 'sports'
80+
WHEN res IN ('merino_flights')
81+
THEN 'flights'
7882
WHEN res IN (
7983
'top_site',
8084
'recent_search',
@@ -90,8 +94,7 @@ RETURNS STRING AS (
9094
'restrict_keyword_tabs',
9195
'restrict_keyword_actions',
9296
'merino_market',
93-
'merino_sports',
94-
'merino_flights'
97+
'important_dates',
9598
)
9699
THEN res
97100
WHEN res LIKE('%opt_in')

0 commit comments

Comments
 (0)