https://dagster.io/ logo
#dagster-support
Title
# dagster-support
a

Alec Koumjian

01/26/2023, 1:46 PM
Is there a built in
IOManager
,
input_manager
or way to specify an
AssetIn
that provides a partitioned asset input as a generator that yields over the loaded inputs? Our partitioned assets are much too large to handle all at once in memory, but there are necessary steps where we need to index together into files or map/reduce data. It seems like the default manager will give you a
dict[partition_key] = partition_value
. Happy to write one, but want to make sure I"m not doing something idiomatically wrong.
s

sandy

01/27/2023, 5:27 PM
Hi Alec - we don't currently have that, but it would be a reasonable thing to build
a

Alec Koumjian

01/27/2023, 5:28 PM
I'll be testing out an implementation this upcoming week. Happy to offer it available as a contrib.
s

Sean Davis

02/11/2023, 2:57 AM
Hi, @Alec Koumjian. I'm curious if you ever ended up implementing something. I have a similar use case.
a

Alec Koumjian

02/11/2023, 2:22 PM
I did, seems to be working well! I'll ask the team if we should open source it. We already have a few dagster utilities including another IOManager that handles working with files and directories rather than directly with objects in memory.
👌 1