[ 
https://issues.apache.org/jira/browse/ARROW-13522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392080#comment-17392080
 ] 

Antoine Pitrou commented on ARROW-13522:
----------------------------------------

This should be fixed now. I encourage you to check using the nightly builds, 
for example tomorrow:

[https://arrow.apache.org/docs/python/install.html#installing-nightly-packages]

> [C++] Regression with compute `utf8_*trim` functions on macOS.
> --------------------------------------------------------------
>
>                 Key: ARROW-13522
>                 URL: https://issues.apache.org/jira/browse/ARROW-13522
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>    Affects Versions: 5.0.0
>         Environment: macOS 11.5
>            Reporter: A. Coady
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 6.0.0, 5.0.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {code:python}
> import pyarrow as pa
> import pyarrow.compute as pc
> arr = pa.array(["ab", "ac"])
> r = pc.utf8_ltrim(arr, characters="a")
> assert r.to_pylist() == ["b", "c"], r
> r = pc.utf8_rtrim(arr, characters="b")
> assert r.to_pylist() == ["a", "ac"], r
> {code}
> Seems to go awry after the first match.



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

Reply via email to