-- Staged time dimension
-- Source: dim_time table
-- Grain: One row per month

with source as (
    select * from {{ source('toronto_housing', 'dim_time') }}
),

staged as (
    select
        date_key,
        full_date,
        year,
        month,
        quarter,
        month_name,
        is_month_start
    from source
)

select * from staged
