-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Perf: Port arrow-rs optimization for get_buffer_memory_size and add fast path for no buffer for gc string view #17008
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
Conversation
|
FYI @alamb , i try to do some optimization in this PR:
Thanks! |
|
Another potential idea is to simply switch to using the coalesce kernel directly (so we don't have to maintain a separate copy) |
alamb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @zhuqi-lucas -- this makes sense to me
Thank you @alamb for the review! I agree that switching to the upstream coalesce kernel would be the ideal follow-up solution. |
Thanks @zhuqi-lucas -- as always super appreciated Maybe once we upgrade to DataFusion 56 you can revive #16249 ? I think it is basically ok, but would benefit from having someone else go through the code and double check. The existing failures I think were due to other changes made at the time, and I suspect (hope) it will "just work" |
Thank you @alamb , i will revive it after we upgrade to 56! |
…ast path for no buffer for gc string view (apache#17008) * Port arrow-rs optimization for get_buffer_memory_size for gc string view * add comments and fast path
Which issue does this PR close?
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Yes
Are there any user-facing changes?
No