We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sort_batch
sort_batch always uses multi column sort by sorting first to indices and then sorting the batch. See:
datafusion/datafusion/physical-plan/src/sorts/sort.rs
Line 628 in ea788c7
We can use https://arrow.apache.org/rust/arrow/compute/fn.sort_limit.html instead
For single row case, sort the batch directly instead of sorting multiple columns.
No response
The text was updated successfully, but these errors were encountered:
take
Sorry, something went wrong.
2010YOUY01
No branches or pull requests
Is your feature request related to a problem or challenge?
sort_batch
always uses multi column sort by sorting first to indices and then sorting the batch. See:datafusion/datafusion/physical-plan/src/sorts/sort.rs
Line 628 in ea788c7
We can use https://arrow.apache.org/rust/arrow/compute/fn.sort_limit.html instead
Describe the solution you'd like
For single row case, sort the batch directly instead of sorting multiple columns.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: