Li Jin created ARROW-1431:
-----------------------------
Summary: [Java] JsonFileReader doesn't intialize some vectors
approperately
Key: ARROW-1431
URL: https://issues.apache.org/jira/browse/ARROW-1431
Project: Apache Arrow
Issue Type: Bug
Reporter: Li Jin
One example is for ListVector, the JsonFileReader sets the validity, offset and
data, but doesn't set `lastSet` variable in the ListVector instance.
ArrowFileReader works correct before it invokes `loadFieldBuffers` and
intialize `lastSet` correctly:
https://github.com/apache/arrow/blob/master/java/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java#L120
This doesn't break integration tests but can cause weird bugs when people call
methods on the vector read from json.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)