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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
