[
https://issues.apache.org/jira/browse/ARROW-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Kietzman resolved ARROW-6773.
---------------------------------
Fix Version/s: (was: 1.0.0)
0.15.0
Resolution: Fixed
Issue resolved by pull request 5570
[https://github.com/apache/arrow/pull/5570]
> [C++] Filter kernel returns invalid data when filtering with an Array slice
> ---------------------------------------------------------------------------
>
> Key: ARROW-6773
> URL: https://issues.apache.org/jira/browse/ARROW-6773
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Neal Richardson
> Assignee: Neal Richardson
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.15.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> See ARROW-3808. This failing test reproduces the issue:
> {code:java}
> --- a/cpp/src/arrow/compute/kernels/filter_test.cc
> +++ b/cpp/src/arrow/compute/kernels/filter_test.cc
> @@ -151,6 +151,12 @@ TYPED_TEST(TestFilterKernelWithNumeric, FilterNumeric) {
> this->AssertFilter("[7, 8, 9]", "[null, 1, 0]", "[null, 8]");
> this->AssertFilter("[7, 8, 9]", "[1, null, 1]", "[7, null, 9]");
>
> + this->AssertFilterArrays(
> + ArrayFromJSON(this->type_singleton(), "[7, 8, 9]"),
> + ArrayFromJSON(boolean(), "[0, 1, 1, 1, 0, 1]")->Slice(3, 3),
> + ArrayFromJSON(this->type_singleton(), "[7, 9]")
> + );
> +
> {code}
> {code:java}
> arrow/cpp/src/arrow/testing/gtest_util.cc:82: Failure
> Failed
> @@ -2, +2 @@
> +0
> [ FAILED ] TestFilterKernelWithNumeric/9.FilterNumeric, where TypeParam =
> arrow::DoubleType (0 ms)
> {code}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)