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

[Java] DenseUnionWriter#setPosition fails with NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.17.0
    • None
    • Java
    • None

    Description

      The writer always iterates through all BaseWriters, and an array of 128 BaseWriters is allocated. So if you do not have 128 typeIds and do not touch all of them, setPosition will give you an exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lidavidm David Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: