[
https://issues.apache.org/jira/browse/ARROW-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16184830#comment-16184830
]
ASF GitHub Bot commented on ARROW-1619:
---------------------------------------
Github user BryanCutler commented on the issue:
https://github.com/apache/arrow/pull/1140
If you remove the calls to `setLastSet` here, a number of the tests fail
that use `ListVector` and `VarCharVector`. It's because `setValueCount` for
these will modify the values/offsets according to the what lastSet is.
> [Java] Correctly set "lastSet" for variable vectors in JsonReader
> -----------------------------------------------------------------
>
> Key: ARROW-1619
> URL: https://issues.apache.org/jira/browse/ARROW-1619
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java - Vectors
> Reporter: Bryan Cutler
> Assignee: Bryan Cutler
> Labels: pull-request-available
>
> The Arrow Java JsonFileReader does not correctly set "lastSet" in
> VariableWidthVectors which makes reading inner vectors overly complicated.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)