You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/04/22 14:57:00 UTC

[jira] [Reopened] (ARROW-1431) [Java] JsonFileReader doesn't intialize some vectors approperately

     [ https://issues.apache.org/jira/browse/ARROW-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney reopened ARROW-1431:
---------------------------------
      Assignee: Li Jin

> [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
>          Components: Java
>            Reporter: Li Jin
>            Assignee: Li Jin
>            Priority: Major
>             Fix For: 0.8.0
>
>
> 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
(v7.6.3#76005)