complete app
test / test (push) Successful in 9s

This commit is contained in:
2026-09-17 17:39:22 -05:00
parent 4d633a39be
commit 3d5de1dc3e
84 changed files with 24229 additions and 0 deletions
@@ -0,0 +1,19 @@
{{
config(
materialized='table',
schema='marts',
tags=["dimension"]
)
}}
WITH all_seasons AS (
SELECT DISTINCT season_start_year
FROM {{ ref('int_games_enriched') }}
)
SELECT
{{ dbt_utils.generate_surrogate_key(['season_start_year']) }} AS season_key,
season_start_year,
season_start_year || '-' || SUBSTR(CAST(season_start_year + 1 AS VARCHAR), 3, 2) AS season_display
FROM all_seasons
ORDER BY season_start_year