You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "A. Coady (Jira)" <ji...@apache.org> on 2021/08/02 01:44:00 UTC
[jira] [Created] (ARROW-13522) Regression with compute `utf8_*trim`
functions.
A. Coady created ARROW-13522:
--------------------------------
Summary: Regression with compute `utf8_*trim` functions.
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
Reporter: A. Coady
```python
import pyarrow as pa
import pyarrow.compute as pc
arr = pa.array(["ab", "ac"])
assert pc.utf8_ltrim(arr, characters="a").to_pylist() == ["b", ""]
assert pc.utf8_rtrim(arr, characters="b").to_pylist() == ["a", "a"]
```
Seems to go awry after the first match.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)