daniel-shields opened a new issue, #36388:
URL: https://github.com/apache/arrow/issues/36388
### Describe the bug, including details regarding any error messages,
version, and platform.
pyarrow.repeat silently fails and returns an invalid array when the result
cannot fit in a single chunk.
```
import sys
import pyarrow as pa
print(f"{sys.version}")
print(f"{pa.__version__=}")
array = pa.repeat("?", 2**31 - 1)
print(array)
array = pa.repeat("?", 2**31)
print(array)
```
output:
```
3.9.12 (main, Jan 1 2020, 00:00:00)
[GCC 8.3.0]
pa.__version__='12.0.0'
[
"?",
"?",
...
"?",
"?",
]
<Invalid array: Negative offsets in binary array>
```
### 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]