You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/10/22 16:20:00 UTC
[jira] [Resolved] (ARROW-10208) [C++] String split kernels do not
propagate nulls correctly on sliced input
[ https://issues.apache.org/jira/browse/ARROW-10208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-10208.
------------------------------------
Resolution: Fixed
Issue resolved by pull request 8496
[https://github.com/apache/arrow/pull/8496]
> [C++] String split kernels do not propagate nulls correctly on sliced input
> ---------------------------------------------------------------------------
>
> Key: ARROW-10208
> URL: https://issues.apache.org/jira/browse/ARROW-10208
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Maarten Breddels
> Assignee: Antoine Pitrou
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> I am not sure if this is a specific test issue or valid behavior, but when writing a test in [https://github.com/apache/arrow/pull/8271]
> The following test fails:
> {code:java}
> this->CheckUnary("split_pattern", R"(["foo bar", "foo", null])", list(this->type()), // R"([["foo", "bar"], ["foo"], null])", &options);
> {code}
> with the following output
> {code:java}
> Failed:
> Got:
> [
> [
> [
> "foo",
> "bar"
> ]
> ],
> [
> [
> "foo"
> ],
> null
> ]
> ]
> Expected:
> [
> [
> [
> "foo",
> "bar"
> ]
> ],
> [
> [
> "foo"
> ],
> null
> ]
> ]
> {code}
> while the outputs are the same, the arrays are seen as unequal.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)