Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.