Skip to content

Commit

Permalink
preserve divisions
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Nov 15, 2023
1 parent e838cdf commit 93bcf5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dask_awkward/lib/io/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ def from_map(
result = new_array_object(hlg, name, meta=array_meta, npartitions=len(inputs))

if empty_on_raise and empty_backend:
res = result.map_partitions(first, meta=array_meta)
res = result.map_partitions(first, meta=array_meta, output_divisions=1)
rep = result.map_partitions(second, meta=empty_typetracer())
return res, rep

Expand Down

0 comments on commit 93bcf5a

Please sign in to comment.