Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16377

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Java
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            knutwalker Paul Horn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: