You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/21 12:55:54 UTC

[GitHub] [arrow-rs] tustvold commented on issue #807: Buffer::bit_slice has incorrect length for aligned offset

tustvold commented on issue #807:
URL: https://github.com/apache/arrow-rs/issues/807#issuecomment-1133629771

   Currently, as alluded to @bjchambers, the length of a `Buffer` is somewhat immaterial, with length solely a property of the Array / ArrayData, and the size of the underlying buffers kind of arbitrary. This is in fact key to how ArrayData and Array slicing currently works - it doesn't actually slice the underlying `Buffer` at all.
   
   There are suggestions to change aspects of this, e.g. @jhorstmann on https://github.com/apache/arrow-rs/pull/1499, but I'm not sure where they've gotten. I personally need a better idea of where we're headed w.r.t buffer offset handling before I'd want to weigh in on what we should do here.


-- 
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: github-unsubscribe@arrow.apache.org

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