How do I create partitions for only business days? #14528
-
|
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
There are a couple options for creating partitions on business days:
|
Beta Was this translation helpful? Give feedback.
-
|
@clairelin135 When using your Is it possible to use a unique set of datetime periods (e.g. only business days, or only certain hours on certain) that the user provides but preserve the "date/time selector" in the DagsterUI? |
Beta Was this translation helpful? Give feedback.
There are a couple options for creating partitions on business days:
TimeWindowPartitionsDefinitionwith a cron schedule of0 0 * * 1-5, which creates a partition for Monday through Friday at 00:00.DynamicPartitionsDefinition(currently experimental) and create a partition for each business day. For example: