-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
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
lexsort_to_indices may output larger size than input #4087
Comments
I don't think the size of the underlying buffers is something we guarantee, whilst one could argue that we should correctly estimate the output buffers to not be larger than the inputs, this is not guaranteed. Perhaps you might explain why this is a problem? Edit: I'm also a little confused as the DataFusion issue does not appear to relate to lexsort_to_indices but seems to be about MutableArrayData? |
Closing this as I've not heard back, feel free to reopen if still an issue |
Thanks, that makes sense |
Describe the bug
Not sure if it is arrow-rs bug. This issue is created to track
We find a problem in apache/datafusion#3747 (comment)
To Reproduce
TBD
Expected behavior
sort output size should be <= input size (smaller is expected when it is partial sort, i.e. top K)
Additional context
The text was updated successfully, but these errors were encountered: