Danny Steffy
04/19/2023, 2:27 PMVinnie
04/19/2023, 2:31 PMpartitions_def
and partition_key_to_vars_fn
in the load_assets_from_dbt_*
functionsDanny Steffy
04/19/2023, 4:19 PMSean Lopp
04/19/2023, 5:54 PMDanny Steffy
04/19/2023, 6:01 PMDanny Steffy
04/22/2023, 4:41 PMDanny Steffy
04/22/2023, 4:41 PMSean Lopp
04/24/2023, 2:24 PMDanny Steffy
04/24/2023, 3:23 PMnhl_daily_partition = DailyPartitionsDefinition(start_date="1990-08-01")
Danny Steffy
04/24/2023, 3:23 PMselect
game_id,
team,
goals,
row_number() over (partition by game_id order by goals desc) as rank
from {{source('nhl_ingestion', 'raw_game_data')}}
{% if is_incremental() %}
where partition_key = '{{ var('datetime_to_process') }}'
{% endif %}
Sean Lopp
04/24/2023, 3:48 PMall the partitions are using the wrong partition data
? I guess I don't see the error in the screenshotDanny Steffy
04/24/2023, 4:08 PMSource data
and when I check the new table on my database, partitions that say they've been completed aren't thereDanny Steffy
04/24/2023, 4:10 PM