wjones127 commented on issue #6152:
URL: https://github.com/apache/arrow-rs/issues/6152#issuecomment-2260943719

   I'm guessing the reason is we slice the underlying buffer here:
   
   
https://github.com/apache/arrow-rs/blob/80ed7128510bac114c6feec08c34ef3beed3a44a/arrow-array/src/array/primitive_array.rs#L747-L748
   
   It does make me wonder if we should just remove `offset` from the Array and 
expose APIs on the buffers themselves for seeing if it's sliced. Is there a use 
case you have for wanting to know this offset?
   


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