We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dbc255 commit 3179f82Copy full SHA for 3179f82
1 file changed
definitions/output/reports/tech_report_categories.js
@@ -71,7 +71,7 @@ technology_stats AS (
71
SELECT
72
technology,
73
category_obj AS categories,
74
- SUM(origins.mobile + origins.desktop) AS total_origins
+ origins.mobile AS mobile_origins
75
FROM ${ctx.ref('reports', 'tech_report_technologies')}
76
GROUP BY
77
@@ -82,7 +82,7 @@ SELECT
82
category,
83
description,
84
origins,
85
- ARRAY_AGG(technology IGNORE NULLS ORDER BY technology_stats.total_origins DESC) AS technologies
+ ARRAY_AGG(technology IGNORE NULLS ORDER BY technology_stats.mobile_origins DESC) AS technologies
86
FROM category_stats
87
INNER JOIN technology_stats
88
ON category_stats.category IN UNNEST(technology_stats.categories)
0 commit comments