燕子石
07/30/2023, 11:57 AMincremental refresh
. Like this case:
1. I need the scheduler run ONCE A DAY
2. The scheduler runs job which contains ASSETS that are PARTITIONED BY MONTH
3. I need the scheduler refresh the MOST RECENT TWO MONTHS of data
I've tried the build_schedule_from_partitioned_job
function - it automatically runs the job once a month because the assets are partitioned by month.
I've tried using ScheduleDefinition
- It just won't work and returned error.
Please. Any workaround?chris
07/31/2023, 7:16 PM@schedule
decorator - you can define a once-a-day cron string, then define your asset separately that is partitioned by month. You can define the scheduler to send a run request for a time window of the last two months of data.