alamb opened a new issue, #7099:
URL: https://github.com/apache/arrow-rs/issues/7099
This is something I also noticed in #7082
One thing to note is that `NullBufferBuilder::allocated_size()` is used here:
https://github.com/apache/arrow-rs/blob/92cfd99e9ab4a6c54500ec65252027b9edf1ee55/arrow-array/src/builder/generic_bytes_view_builder.rs#L397-L408
And I think it's used with assumption it provides bytes not bits, so may
need adjustment.
_Originally posted by @Jefffrey in
https://github.com/apache/arrow-rs/pull/7089#pullrequestreview-2601232650_
I think the adjustment is to divide the allocated_size by 8.
Another solution would be to deprecate allocated_size entirely and make a
new function that returns allocated size in bytes
--
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]