-
Notifications
You must be signed in to change notification settings - Fork 1k
Revert "Revert "Improve coalesce and concat performance for views…
#7625
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
…apache#7614)" (apache#7623)" This reverts commit da461c8.
|
🤖 |
|
🤖: Benchmark completed Details
|
|
🤖 |
|
🤖: Benchmark completed Details
|
|
🤖 |
|
🤖: Benchmark completed Details
|
|
Love it -- looks great. Thank you @Dandandan |
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 @Dandandan -- this looks great to me
I am also working on writing some tests to add additional coverage. I hope to have that done later this morning
| if ideal_buffer_size == 0 { | ||
| // If the ideal buffer size is 0, all views are inlined | ||
| // so just reuse the views | ||
| return Arc::new(unsafe { |
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.
I ran codecov and this is the only path that is not covered
cargo llvm-cov --html -p arrow-selectI think I can cover it with a sliced record batch. I will write some tests as a follow on PR to cover it
|
I also made a follow on PR for adding some additional coverage here: |
# Which issue does this PR close? - Follow on to #7625 from @Dandandan # Rationale for this change I want to eventually remove `gc_string_view` but currently the unit tests are in terms of that function # What changes are included in this PR? Rewrite tests to be in terms of `coalesce` instead Also, 1. Add additional coverage for the issue we saw in #7623 2. Add add coverage for the case where there are data buffers in the view, but they are not referenced by any view #7625 (comment) Codecov of this module is now 100% # Are there any user-facing changes? If there are user-facing changes then we may require documentation to be updated before approving the PR. If there are any breaking changes to public APIs, please call them out.
… (#7614)" (#7623)"
This reverts commit da461c8.
This adds a test and fix for the wrong index issue.
I also verified the change for DataFusion (and benchmarks show notable improvements).
Which issue does this PR close?
Closes #NNN.
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?