anjakefala commented on PR #43190:
URL: https://github.com/apache/arrow/pull/43190#issuecomment-2218119331

   I tested this PR on a table with string columns and 70,000,000 rows.
   
   I got the expected error message:
   
   ```
   Traceback (most recent call last):
     File "/home/anja/git/arrow/python/take_overflow.py", line 62, in <module>
       table.sort_by([("string_col","ascending")])
     File "pyarrow/table.pxi", line 2095, in pyarrow.lib._Tabular.sort_by
       return self.take(indices)
     File "pyarrow/table.pxi", line 2133, in pyarrow.lib._Tabular.take
       return _pc().take(self, indices)
     File "/home/anja/git/arrow/python/pyarrow/compute.py", line 487, in take
       return call_function('take', [data, indices], options, memory_pool)
     File "pyarrow/_compute.pyx", line 590, in pyarrow._compute.call_function
       return func.call(args, options=options, memory_pool=memory_pool,
     File "pyarrow/_compute.pyx", line 385, in pyarrow._compute.Function.call
       result = GetResultValue(
     File "pyarrow/error.pxi", line 154, in 
pyarrow.lib.pyarrow_internal_check_status
       return check_status(status)
     File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
       raise convert_status(status)
   pyarrow.lib.ArrowInvalid: offset overflow while concatenating arrays, 
consider casting input from `string` to `large_string` first.
   ```
   


-- 
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]

Reply via email to