-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Python] pyarrow.compute.utf8_slice_codeunits fails when stop=None #14991
Comments
Using my development version to get a bit more informative traceback:
So if arrow/cpp/src/arrow/compute/kernels/scalar_string_utf8.cc Lines 1085 to 1097 in e2afb8c
Reproducing that logic in python:
So indeed multiple steps here are overflowing. We will need to refactor this calculation a bit (there are utilities like |
This should have been fixed by #36575 |
Describe the bug, including details regarding any error messages, version, and platform.
Based on the
stop
parameter docsSo I would have expected that
In [12]:
is an equivalent operation toin [11]
Component(s)
Python
The text was updated successfully, but these errors were encountered: