diff --git a/definitions/declarations/httparchive.js b/definitions/declarations/httparchive.js index 7cbc384..9331ff2 100644 --- a/definitions/declarations/httparchive.js +++ b/definitions/declarations/httparchive.js @@ -8,5 +8,5 @@ for (const table of stagingTables) { declare({ schema: 'wappalyzer', - name: 'apps' + name: 'technologies' }) diff --git a/definitions/output/reports/cwv_tech_technologies.js b/definitions/output/reports/cwv_tech_technologies.js index dbb3825..e6be2af 100644 --- a/definitions/output/reports/cwv_tech_technologies.js +++ b/definitions/output/reports/cwv_tech_technologies.js @@ -29,7 +29,7 @@ WITH pages AS ( ARRAY_TO_STRING(categories, ', ') AS category, categories AS category_obj, NULL AS similar_technologies - FROM ${ctx.ref('wappalyzer', 'apps')} + FROM ${ctx.ref('wappalyzer', 'technologies')} ), tech_origins AS ( SELECT client, diff --git a/definitions/output/wappalyzer/tech_detections.js b/definitions/output/wappalyzer/tech_detections.js index 4a2a0d8..a439b84 100644 --- a/definitions/output/wappalyzer/tech_detections.js +++ b/definitions/output/wappalyzer/tech_detections.js @@ -112,7 +112,7 @@ tech_deprecated_gone_origins AS ( -- aggregation of technology adoption/deprecation metrics SELECT DATE('${constants.currentMonth}') AS date, - COALESCE(before_summary.technology, tech_adopted_existing_origins.technology, tech_adopted_new_origins.technology, apps.name) AS technology, + COALESCE(before_summary.technology, tech_adopted_existing_origins.technology, tech_adopted_new_origins.technology, technologies.name) AS technology, -- origins summary 0-COALESCE(total_origins_deprecated_existing, 0) AS total_origins_deprecated_existing, @@ -139,6 +139,6 @@ LEFT JOIN tech_deprecated_existing_origins ON before_summary.technology = tech_deprecated_existing_origins.technology LEFT JOIN tech_deprecated_gone_origins ON before_summary.technology = tech_deprecated_gone_origins.technology -FULL OUTER JOIN wappalyzer.apps - ON before_summary.technology = apps.name +FULL OUTER JOIN ${ctx.ref('wappalyzer', 'technologies')} AS technologies + ON before_summary.technology = technologies.name `)