You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/04/06 12:06:55 UTC
[GitHub] [arrow] jorisvandenbossche opened a new issue, #34928: [C++] utf8_slice_codeunits crashes with max start and negative step
jorisvandenbossche opened a new issue, #34928:
URL: https://github.com/apache/arrow/issues/34928
### Describe the bug, including details regarding any error messages, version, and platform.
Reproducer in Python:
```
In [2]: import sys
In [3]: pa.compute.utf8_slice_codeunits("test", start=sys.maxsize, stop=0, step=-1)
/home/joris/scipy/repos/arrow/cpp/src/arrow/compute/kernels/scalar_string_internal.h:109: Check failed: (output_ncodeunits) <= (max_output_ncodeunits)
```
The idea is that this would slice from the end (the max int value is always beyond the end of a single string) to the beginning of the string with a certain step.
### Component(s)
C++
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] pitrou closed issue #34928: [C++] utf8_slice_codeunits crashes with max start and negative step
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #34928: [C++] utf8_slice_codeunits crashes with max start and negative step
URL: https://github.com/apache/arrow/issues/34928
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] pitrou commented on issue #34928: [C++] utf8_slice_codeunits crashes with max start and negative step
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #34928:
URL: https://github.com/apache/arrow/issues/34928#issuecomment-1630223095
This should have been fixed by https://github.com/apache/arrow/pull/36575
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org