wirable23 opened a new issue, #36311:
URL: https://github.com/apache/arrow/issues/36311
### Describe the bug, including details regarding any error messages,
version, and platform.
```
pa.compute.utf8_slice_codeunits(f"AB{chr(127917)}C{chr(127917)}ㇱD", start=2,
stop=None, step=4).as_py()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyarrow\scalar.pxi", line 632, in pyarrow.lib.StringScalar.as_py
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 4:
invalid start byte
>>>
```
The result of utf8_slice_codeunits produced an invalid unicode sequence.
### Component(s)
Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]