asfimport opened a new issue, #341:
URL: https://github.com/apache/arrow-java/issues/341

   Calling 
[getBuffers](https://github.com/apache/arrow/blob/06ca00c2daeeb0d6461e7b6bec51679c19b5b92b/java/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java#L652-L653)
 on a ListVector adds the offsetBuffers first and the validityBuffer second. 
When a ListVector is populated by 
[loadFieldBuffers](https://github.com/apache/arrow/blob/06ca00c2daeeb0d6461e7b6bec51679c19b5b92b/java/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java#L183-L189)
 (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](https://issues.apache.org/jira/browse/ARROW-16377)
   
   <sub>**Note**: *This issue was originally created as 
[ARROW-16377](https://issues.apache.org/jira/browse/ARROW-16377). Please see 
the [migration documentation](https://github.com/apache/arrow/issues/14542) for 
further details.*</sub>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to