Rich-T-kid commented on PR #10094:
URL: https://github.com/apache/arrow-rs/pull/10094#issuecomment-4676047646

   the issue with just slicing the run_ends but not mutating it is that the 
resulting logical array is incorrect. for example
   ```
   sliced = {run_ends: [5,8], values:["b","a"], offset = 3, length = 5}
   ```
   represents 
   ```
   [b,b,b,b,b,a,a,a]
   ```
   which is not the correct slice of the original array. 
   Im not sure if I understood the point you were making.


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