Skip to content

Commit ad634b6

Browse files
authored
Remove unsupported country, and clamp to known regions (#8533)
1 parent bb17ef5 commit ad634b6

File tree

2 files changed

+3
-1
lines changed
  • sql/moz-fx-data-shared-prod/telemetry_derived

2 files changed

+3
-1
lines changed

sql/moz-fx-data-shared-prod/telemetry_derived/newtab_merino_extract_v3/query.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ country_aggregates AS (
103103
WHERE
104104
-- Gather country (a.k.a. region) specific engagement for all countries that share a feed.
105105
-- https://mozilla-hub.atlassian.net/wiki/x/JY3LB
106-
normalized_country_code IN ('US', 'CA', 'DE', 'CH', 'AT', 'BE', 'GB', 'IE')
106+
normalized_country_code IN ('US', 'CA', 'DE', 'CH', 'AT', 'GB', 'IE')
107107
),
108108
/* Combine the "global" (no region) with the "regional" breakdown. */
109109
combined_results AS (

sql/moz-fx-data-shared-prod/telemetry_derived/newtab_merino_priors_v1/query.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ SELECT
182182
impressions_per_item
183183
FROM
184184
per_region_stats_with_impressions
185+
WHERE
186+
region IN ('US', 'CA', 'DE', 'CH', 'AT', 'GB', 'IE')
185187
UNION ALL
186188
SELECT
187189
region,

0 commit comments

Comments
 (0)