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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   I think post https://github.com/apache/arrow/pull/39240, and slicing with an 
empty slice under the same conditions returns the first element when the result 
should be empty
   
   ```python
   In [14]: import pyarrow as pa
       ...: print(pa.__version__)
       ...: array = pa.chunked_array([list("abcde")])
       ...: array[slice(-6, -6, -1)]
   16.0.0.dev318
   Out[14]: 
   <pyarrow.lib.ChunkedArray object at 0x11a1ce4d0>
   [
     [
       "a"
     ]
   ]
   
   In [15]: list("abcde")[slice(-6, -6, -1)]
   Out[15]: []
   ```
   
   cc @LucasG0 @jorisvandenbossche 
   
   ### 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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to