Skip to content

Commit

Permalink
fix rechunk
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Nov 14, 2024
1 parent f30fd2d commit 4d6826a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions distributed/shuffle/_rechunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@

import dask
import dask.config
from dask._task_spec import Task, TaskRef
from dask._task_spec import Task, TaskRef, parse_input

Check warning on line 124 in distributed/shuffle/_rechunk.py

View check run for this annotation

Codecov / codecov/patch

distributed/shuffle/_rechunk.py#L124

Added line #L124 was not covered by tests
from dask.highlevelgraph import HighLevelGraph
from dask.layers import Layer
from dask.tokenize import tokenize
Expand Down Expand Up @@ -756,7 +756,9 @@ def partial_concatenate(
rec_cat_arg[old_partial_index] = TaskRef((input_name,) + old_global_index)

concat_task = Task(
(rechunk_name(token),) + global_new_index, concatenate3, rec_cat_arg.tolist()
(rechunk_name(token),) + global_new_index,
concatenate3,
parse_input(rec_cat_arg.tolist()),
)
dsk[concat_task.key] = concat_task
return dsk
Expand Down

0 comments on commit 4d6826a

Please sign in to comment.