fix: country_supply column name in location_profiles
All checks were successful
CI / test (push) Successful in 55s
CI / tag (push) Successful in 3s

This commit is contained in:
Deeman
2026-03-10 10:12:09 +01:00

View File

@@ -218,10 +218,10 @@ country_market AS (
country_supply AS ( country_supply AS (
SELECT SELECT
country_code, country_code,
SUM(city_padel_venue_count) AS country_venues, SUM(padel_venue_count) AS country_venues,
SUM(population) AS country_pop, SUM(population) AS country_pop,
CASE WHEN SUM(population) > 0 CASE WHEN SUM(population) > 0
THEN SUM(city_padel_venue_count) * 100000.0 / SUM(population) THEN SUM(padel_venue_count) * 100000.0 / SUM(population)
ELSE 0 ELSE 0
END AS venues_per_100k END AS venues_per_100k
FROM foundation.dim_cities FROM foundation.dim_cities