How to depend on all partitions to date of an asset? #27199
Unanswered
elliottlawrence
asked this question in
Q&A
Replies: 1 comment
-
Hi @elliottlawrence! While there's not a first-class way to do this, it is possible to set the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an asset that's partitioned by day, let's call it
events
. I also have an asset that computes certain summary metrics based onevents
, let's call itaggregated_metrics
.I also want to partition
aggregated_metrics
by day, but I want each partition to depend on all previous partitions ofevents
up to and including that day.I'm not quite sure how to accomplish this in Dagster.
TimeWindowPartitionsMapping
seems to only allow start and end date offsets, not a fixed start date, andAllPartitionMapping
will include partitions after the date that I want. Is there a straightforward way to do this?Beta Was this translation helpful? Give feedback.
All reactions