-
Every night, I want to launch a single run that materializes a range of asset partitions. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
You can accomplish this with a @schedule(job=..., cron_schedule="@daily")
def my_schedule():
...
return RunRequest(
tags={
"dagster/asset_partition_range_start": start_partition_key,
"dagster/asset_partition_range_end": end_partition_key,
}
) |
Beta Was this translation helpful? Give feedback.
-
To write a sensor or schedule that requests a run for every partition on every tick, see #15532 |
Beta Was this translation helpful? Give feedback.
-
I have an asset with a dynamic partition that is using I am able to run backfills through the UI which is very inconvenient for a large selection of partitions. But other than that I don't see an option for creating such a backfill via a sensor or script.
|
Beta Was this translation helpful? Give feedback.
You can accomplish this with a
RunRequest
that supplies the "dagster/asset_partition_range_start" and "dagster/asset_partition_range_end" tags: