Scheduling Time-Partitioned Asset Advice #25784
-
I am using Dagster to run dbt models. I have an asset that I have partitioned based on Week (starting Monday):
and a job that runs that asset:
As the docs suggest I have tried to create a schedule using
Error:
Any recommendations? I'm pretty stuck. The docs talk about how you can schedule jobs with time based partitions and I can't work out if I've misnunderstood, if I've written the code wrong or if it's a bug. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your JobDefinition variable is Can you try passing dbt_build_forecast_accuracy? job_schedule = build_schedule_from_partitioned_job(
dbt_build_forecast_accuracy,
... |
Beta Was this translation helpful? Give feedback.
-
This was resolved by using "day_of_week" rather than cron_schedule. Understandably, it seems these non-cron parameters can only be used if they "make sense" with the partition cadence. |
Beta Was this translation helpful? Give feedback.
This was resolved by using "day_of_week" rather than cron_schedule. Understandably, it seems these non-cron parameters can only be used if they "make sense" with the partition cadence.