Skip to content

Commit

Permalink
Use correct sort kwargs for map_partitions call
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed Jan 10, 2022
1 parent e54f1bf commit bc9291c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dask_cudf/dask_cudf/sorting.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def sort_values(
df3.divisions = (None,) * (df3.npartitions + 1)

# Step 3 - Return final sorted df
df4 = df3.map_partitions(sort_function, **sort_function_kwargs)
df4 = df3.map_partitions(sort_function, **sort_kwargs)
if not isinstance(divisions, gd.DataFrame) and set_divisions:
# Can't have multi-column divisions elsewhere in dask (yet)
df4.divisions = methods.tolist(divisions)
Expand Down

0 comments on commit bc9291c

Please sign in to comment.