NullBufferBuilder::allocated_size Returns Size in Bits #7121
Labels
arrow
Changes to the arrow crate
bug
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Describe the bug
As documented in #7089, NullBufferBuilder::allocated_size returns the size in bits. Given no reasonable allocator allocates memory in bits, it is somewhat expected that the quantity returned is in bytes, and returning in bits is a bug.
To Reproduce
Expected behavior
The value should be in bytes.
Additional context
This was added in #6047 by @XiangpengHao
The text was updated successfully, but these errors were encountered: