Skip to content

ListVector#getBuffers returns buffers in the wrong order for usage of VectorLoader #341

@asfimport

Description

@asfimport

Calling getBuffers on a ListVector adds the offsetBuffers first and the validityBuffer second. When a ListVector is populated by loadFieldBuffers (e.g. via a VectorLoader), the validityBuffer is read first and the offsetBuffer is read second. The resulting vector represents different data than the originating vector.

Reporter: Paul Horn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions