Philippe Laflamme
03/29/2023, 1:56 AMA
with daily partitioning with start_date
of start_a
. I also have a B
asset that consumes A
but which is offset by one day. As such, the start_date
for B
is start_a + 1
since it can only run once A
has at least one day available. This works all fine, except that I find myself having to treat these 2 assets separately in some places because their PartitionDefinitions
are not exactly the same. Specifically, I cannot use build_asset_job
and specify both A
and B
. This happens quite a bit throughout because this "offset" pattern is common in the data I'm dealing with (i.e.: I also use end_offset
with positive and negative values). So I end up having to create many jobs that really shouldn't have to. Also, I haven't found a great way of always triggering the downstream job since asset materialization sensors only looks at the latest partition AFAIK. Is there a better way to deal with lots of variability in PartitionDefinitions
like I have?sandy
03/29/2023, 11:15 PMPhilippe Laflamme
03/30/2023, 1:18 PMsandy
03/30/2023, 3:03 PM