Skip to content

NullBufferBuilder::allocated_size Returns Size in Bits #7121

@tustvold

Description

@tustvold

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions