Steps to reproduce the error:
import pyarrow as pa
a = pa.array(["123456789"]*260000000)
tb = pa.table([a], names=["a"])
tb.take([1])
ERROR message:
ArrowInvalid: offset overflow while concatenating arrays
Environment: pyarrow 7.0.0, pyarrow 5.0
Reporter: Zhe Wu
Related issues:
Note: This issue was originally created as ARROW-15808. Please see the migration documentation for further details.