From 9d7610ca35ec429415e9127958dd8060a64a896f Mon Sep 17 00:00:00 2001 From: Max Ostapenko Date: Wed, 22 Jan 2025 22:29:03 +0000 Subject: [PATCH] update tags --- definitions/output/blink_features/features.js | 2 +- definitions/output/blink_features/usage.js | 2 +- definitions/output/core_web_vitals/technologies.js | 2 +- definitions/output/reports/cwv_tech_adoption.js | 2 +- definitions/output/reports/cwv_tech_categories.js | 2 +- definitions/output/reports/cwv_tech_core_web_vitals.js | 2 +- definitions/output/reports/cwv_tech_lighthouse.js | 2 +- definitions/output/reports/cwv_tech_page_weight.js | 2 +- definitions/output/reports/cwv_tech_technologies.js | 2 +- definitions/output/reports/reports_dynamic.js | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/definitions/output/blink_features/features.js b/definitions/output/blink_features/features.js index d609fbd..f61dd34 100644 --- a/definitions/output/blink_features/features.js +++ b/definitions/output/blink_features/features.js @@ -6,7 +6,7 @@ publish('features', { partitionBy: 'yyyymmdd', clusterBy: ['client', 'rank'] }, - tags: ['crawl_complete'] + tags: ['crawl_complete', 'blink_report'] }).preOps(ctx => ` DELETE FROM ${ctx.self()} WHERE yyyymmdd = DATE '${constants.currentMonth}'; diff --git a/definitions/output/blink_features/usage.js b/definitions/output/blink_features/usage.js index 2e483ab..7a5328b 100644 --- a/definitions/output/blink_features/usage.js +++ b/definitions/output/blink_features/usage.js @@ -2,7 +2,7 @@ publish('usage', { schema: 'blink_features', type: 'incremental', protected: true, - tags: ['crawl_complete'] + tags: ['crawl_complete', 'blink_report'] }).preOps(ctx => ` DELETE FROM ${ctx.self()} WHERE yyyymmdd = REPLACE('${constants.currentMonth}', '-', ''); diff --git a/definitions/output/core_web_vitals/technologies.js b/definitions/output/core_web_vitals/technologies.js index d307929..9825419 100644 --- a/definitions/output/core_web_vitals/technologies.js +++ b/definitions/output/core_web_vitals/technologies.js @@ -9,7 +9,7 @@ publish('technologies', { clusterBy: ['geo', 'app', 'rank', 'client'], requirePartitionFilter: true }, - tags: ['crux_ready'], + tags: ['crux_ready', 'tech_report'], dependOnDependencyAssertions: true }).preOps(ctx => ` DELETE FROM ${ctx.self()} diff --git a/definitions/output/reports/cwv_tech_adoption.js b/definitions/output/reports/cwv_tech_adoption.js index 1b3e40c..65251dd 100644 --- a/definitions/output/reports/cwv_tech_adoption.js +++ b/definitions/output/reports/cwv_tech_adoption.js @@ -8,7 +8,7 @@ publish('cwv_tech_adoption', { partitionBy: 'date', clusterBy: ['rank', 'geo'] }, - tags: ['crux_ready'] + tags: ['crux_ready', 'tech_report'] }).preOps(ctx => ` DELETE FROM ${ctx.self()} WHERE date = '${pastMonth}'; diff --git a/definitions/output/reports/cwv_tech_categories.js b/definitions/output/reports/cwv_tech_categories.js index ac51177..2522f35 100644 --- a/definitions/output/reports/cwv_tech_categories.js +++ b/definitions/output/reports/cwv_tech_categories.js @@ -3,7 +3,7 @@ const pastMonth = constants.fnPastMonth(constants.currentMonth) publish('cwv_tech_categories', { schema: 'reports', type: 'table', - tags: ['crux_ready'] + tags: ['crux_ready', 'tech_report'] }).query(ctx => ` /* {"dataform_trigger": "report_cwv_tech_complete", "name": "categories", "type": "dict"} */ WITH pages AS ( diff --git a/definitions/output/reports/cwv_tech_core_web_vitals.js b/definitions/output/reports/cwv_tech_core_web_vitals.js index b19de99..772f432 100644 --- a/definitions/output/reports/cwv_tech_core_web_vitals.js +++ b/definitions/output/reports/cwv_tech_core_web_vitals.js @@ -8,7 +8,7 @@ publish('cwv_tech_core_web_vitals', { partitionBy: 'date', clusterBy: ['rank', 'geo'] }, - tags: ['crux_ready'] + tags: ['crux_ready', 'tech_report'] }).preOps(ctx => ` CREATE TEMPORARY FUNCTION GET_VITALS( records ARRAY ` CREATE TEMPORARY FUNCTION GET_LIGHTHOUSE( records ARRAY ` CREATE TEMPORARY FUNCTION GET_PAGE_WEIGHT( records ARRAY ` /* {"dataform_trigger": "report_cwv_tech_complete", "name": "technologies", "type": "dict"} */ WITH pages AS ( diff --git a/definitions/output/reports/reports_dynamic.js b/definitions/output/reports/reports_dynamic.js index ad63c12..006234c 100644 --- a/definitions/output/reports/reports_dynamic.js +++ b/definitions/output/reports/reports_dynamic.js @@ -19,7 +19,7 @@ if (iterations.length === 1) { protected: true, bigquery: sql.type === 'histogram' ? { partitionBy: 'date', clusterBy: ['client'] } : {}, schema: 'reports', - tags: ['crawl_complete'] + tags: ['crawl_complete', 'http_reports'] }).preOps(ctx => ` --DELETE FROM ${ctx.self()} --WHERE date = '${params.date}';