vmit opened a new issue, #46377:
URL: https://github.com/apache/arrow/issues/46377

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Calling `pa.compute.take()` (or `arrow::compute::Take()` in C++) on an REE 
encoded array is not supported. While it's clear that the implementation will 
probably be non-trivial, from the functional perspective, there is no reason 
not to have it. IIUC, the `Take()` function is the canonical way to sort data, 
so that if a `Table` has an REE column, such sorting fails.
   
   Min reproduction:
   ```python
   import pyarrow as pa
   rle_encoded = pa.compute.run_end_encode([1, 1, 1, 2, 2, 3, 3, 3, 3])
   pa.compute.take(rle_encoded, pa.array([0,2,4,6]))
   ```
   
   ### Component(s)
   
   C++, 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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to