Skip to content

Commit

Permalink
sorted arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ostapenko authored Jan 15, 2025
1 parent 69d96e5 commit c68f485
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions definitions/output/reports/cwv_tech_technologies.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,15 @@ technologies AS (
SELECT
name AS technology,
description,
ARRAY_TO_STRING(categories, ', ') AS category,
STRING_AGG(DISTINCT category, ', ' ORDER BY category ASC) AS category,
categories AS category_obj,
NULL AS similar_technologies
FROM ${ctx.ref('wappalyzer', 'apps')}
FROM ${ctx.ref('wappalyzer', 'apps')},
UNNEST(categories) AS category
GROUP BY
technology,
description,
categories
),
total_pages AS (
Expand Down

0 comments on commit c68f485

Please sign in to comment.