-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
Milestone
Description
Attempting to append a list vector that is empty to another vector that is also empty using VectorAppender raises an NPE. Instead, it should just skip processing and do nothing.
java.lang.IndexOutOfBoundsException: index: 0, length: 4 (expected: range(0, 0))
at org.apache.arrow.memory.ArrowBuf.checkIndexD(ArrowBuf.java:318)
at org.apache.arrow.memory.ArrowBuf.chk(ArrowBuf.java:305)
at org.apache.arrow.memory.ArrowBuf.getInt(ArrowBuf.java:424)
at org.apache.arrow.vector.util.VectorAppender.visit(VectorAppender.java:195)
at org.apache.arrow.vector.util.VectorAppender.visit(VectorAppender.java:45)
at org.apache.arrow.vector.complex.ListVector.accept(ListVector.java:449)
Reporter: Nick Bruno / @nbruno
PRs and other links:
Note: This issue was originally created as ARROW-11788. Please see the migration documentation for further details.