You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/04 14:55:00 UTC

[jira] [Updated] (ARROW-12969) [C++] match_substring doesn't match empty needle to empty haystack

     [ https://issues.apache.org/jira/browse/ARROW-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-12969:
-----------------------------------
    Labels: pull-request-available  (was: )

> [C++] match_substring doesn't match empty needle to empty haystack
> ------------------------------------------------------------------
>
>                 Key: ARROW-12969
>                 URL: https://issues.apache.org/jira/browse/ARROW-12969
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 4.0.0, 4.0.1
>            Reporter: David Li
>            Assignee: David Li
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {noformat}
> >>> import pyarrow as pa, pyarrow.compute as pc
> >>> pa.__version__
> '4.0.0'
> >>> pc.match_substring(["", "a"], "")
> <pyarrow.lib.BooleanArray object at 0x7fd8a77888e0>
> [
>   false,
>   true
> ]
> >>> "" in ""
> True {noformat}
> Also confirmed with PyArrow 4.0.1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)