Skip to content

BitVector transfer() does not transfer ownership #16492

@asfimport

Description

@asfimport

When buffers are transferred one vector to another, the ownership of the buffers needs to be transferred to the target vectors allocator. This is done in all of the other vectors, but BitVector, which is not generated using the freemarker templates, does not have this code implemented.

This causes memory accounting to be incorrect.

Reporter: Steven Phillips / @StevenMPhillips
Assignee: Steven Phillips / @StevenMPhillips

Related issues:

Note: This issue was originally created as ARROW-888. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions