Skip to content

Commit e3237b7

Browse files
committed
latest crux 236 countries
1 parent 735d993 commit e3237b7

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

definitions/declarations/chrome-ux-report.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ assert('country_summary_not_empty').query(ctx => `
1313
FROM ${ctx.ref(database, 'materialized', 'country_summary')}
1414
|> WHERE yyyymm = ${pastMonthYYYYMM}
1515
|> AGGREGATE COUNT(DISTINCT country_code) AS cnt_countries
16-
|> WHERE cnt_countries != 238
17-
|> SELECT "Table data doesn't match 238 countries" AS error_message
16+
|> WHERE cnt_countries < 236
17+
|> SELECT "Table data has less than 236 countries" AS error_message
1818
`)
1919

2020
declare({
@@ -25,7 +25,7 @@ declare({
2525

2626
assert('device_summary_not_empty').query(ctx => `
2727
FROM ${ctx.ref(database, 'materialized', 'device_summary')}
28-
|> WHERE date = ''${pastMonth}''
28+
|> WHERE date = '${pastMonth}'
2929
|> AGGREGATE COUNT(DISTINCT device) AS cnt_devices, COUNT(DISTINCT rank) AS cnt_ranks
3030
|> WHERE cnt_devices != 3 OR cnt_ranks != 10
3131
|> SELECT "Table data doesn't match 3 unique devices and 10 ranks" AS error_message

infra/tf/dataform.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ locals {
1717
"blink_features",
1818

1919
// Reports
20-
"core_web_vitals",
20+
"core_web_vitals", // TODO: Remove after tech report migration
2121
"reports",
22+
23+
// Service
24+
"dataform_assertions",
2225
]
2326

2427
dataform_service_account_roles = [

0 commit comments

Comments
 (0)