Add a merge sort kernel #4529
Labels
development-process
Related to development process of arrow-rs
enhancement
Any new improvement worthy of a entry in the changelog
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I have an aggregation function that sorts a number of small arrays in parallel and then in the final aggregation step produces a big sorted array from all the smaller sorted arrays.
Currently I am doing a
concat
, that creates a big array from the smaller sorted arrays, followed by asort
that creates another array, it would be probably more efficient if there was a way to merge the already sorted arrays to a final array in one step.Describe the solution you'd like
Would be nice to have a function like:
that takes a number of sorted arrays and produces a sorted array by merging them.
Describe alternatives you've considered
I am doing
concat
followed bysort
.Additional context
The text was updated successfully, but these errors were encountered: