-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-42116: [C++] Support list-view typed arrays in array_take and array_filter #42117
Conversation
FILE SIZE VM SIZE -------------- -------------- [NEW] +318 [NEW] +164 __ZNSt3__120__shared_ptr_emplaceIN5arrow12BooleanArrayENS_9allocatorIS2_EEEC1B8ue170006IJxRKNS_10shared_ptrINS1_6BufferEEEDnixEEES4_DpOT_ [NEW] +201 [NEW] +40 __ZNSt3__120__shared_ptr_emplaceIN5arrow12BooleanArrayENS_9allocatorIS2_EEEC1B8ue170006IJxRKNS_10shared_ptrINS1_6BufferEEEDnixEEES4_DpOT_.cold.1 [DEL] -200 [DEL] -40 __ZNSt3__120__shared_ptr_emplaceIN5arrow12BooleanArrayENS_9allocatorIS2_EEEC1B8ue170006IJxRNS_10shared_ptrINS1_6BufferEEEDnixEEES4_DpOT_.cold.1 [DEL] -264 [DEL] -184 arrow::Result<std::__1::shared_ptr<arrow::BooleanArray> >::~Result() -22.1% -264 -24.7% -264 arrow::compute::internal::(anonymous namespace)::DropNullArray(std::__1::shared_ptr<arrow::Array> const&, arrow::compute::ExecContext*) [DEL] -317 [DEL] -164 __ZNSt3__120__shared_ptr_emplaceIN5arrow12BooleanArrayENS_9allocatorIS2_EEEC1B8ue170006IJxRNS_10shared_ptrINS1_6BufferEEEDnixEEES4_DpOT_ -0.5% -680 -0.8% -496 TOTAL
2532f7d
to
c11a6d1
Compare
Is it worth reviewing this before #41700 gets merged and rebased upon? |
It is. I would like to merge any one of the PRs as soon as I can. Rebasing either way won't be hard. |
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.
LGTM apart from adding a comment for the decision on null offsets.
CI failures are related to ORC. |
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 62ee676. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 31 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…d array_filter (apache#42117) ### Rationale for this change Completing the type coverage in array_take and array_filter. ### What changes are included in this PR? Add support for `ListView` and `LargeListView` in `"array_take"`, `"array_filter"` and all the functions that indirectly rely on these to do their thing. ### Are these changes tested? New test cases were added. * GitHub Issue: apache#42116 Authored-by: Felipe Oliveira Carvalho <[email protected]> Signed-off-by: Felipe Oliveira Carvalho <[email protected]>
Rationale for this change
Completing the type coverage in array_take and array_filter.
What changes are included in this PR?
Add support for
ListView
andLargeListView
in"array_take"
,"array_filter"
and all the functions that indirectly rely on these to do their thing.Are these changes tested?
New test cases were added.