https://dagster.io/ logo
#ask-community
Title
# ask-community
g

geoHeil

07/21/2022, 1:32 PM
Dagster 0.15.6 recently fixed the partition handling for assets - dagit now shows the partition selector when clicking the button to materialize some assets. I think there is a bug though:
WeeklyPartitionsDefinition(start_date=START_DATE, day_offset=2)
a shifted (weekly) partition definition which would schedule a job every Tuesday cannot be selected: 1) the launchpad correctly selects the Tuesdays 2) but the Partition selector from the Materialize all (assets) button only accepts something else and does not find the dates. For example when selecting 2021-12-14 I am greeted with: "Exception calling application: Could not find a partition with key `2022-07-10`" debug_error_string = "{"created":"@1658410300.658988000","description":"Error received from peer unix:/var/folders/cx/tptc40fs3492df12b62dx_kr0000gn/T/tmp_by3evlp","file":"src/core/lib/surface/call.cc","file_line":967,"grpc_message":"Exception calling application: Could not find a partition with key `2022-07-10`","grpc_status":2}" when instead using the launchpad everything works fine.
s

sandy

07/22/2022, 5:40 PM
hey @geoHeil - any chance you have a code snippet I'd be able to use to reproduce this?
g

geoHeil

07/22/2022, 8:56 PM
It should simply be a dummy sensor with the weekly partition and day shift
s

sandy

07/28/2022, 12:24 AM
I was able to reproduce this - sorry for the delay. Here's the fix: https://github.com/dagster-io/dagster/pull/9069. I'm going to try to get it into tomorrow's release
❤️ 1
🌈 1
12 Views