Skip to content

Commit 5bc239e

Browse files
committed
new reports trigger condition
1 parent 7639d6e commit 5bc239e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infra/dataform-trigger/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ WITH crux AS (
1818
AND partition_id IN (previousMonth, previousMonth_YYYYMM)
1919
), report AS (
2020
SELECT MAX(partition_id) = previousMonth AS report_exists
21-
FROM httparchive.core_web_vitals.INFORMATION_SCHEMA.PARTITIONS
22-
WHERE table_name = 'technologies'
21+
FROM httparchive.reports.INFORMATION_SCHEMA.PARTITIONS
22+
WHERE table_name = 'tech_report_categories'
2323
AND partition_id != '__NULL__'
2424
)
2525

0 commit comments

Comments
 (0)