[ 
https://issues.apache.org/jira/browse/ARROW-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212982#comment-16212982
 ] 

Li Jin commented on ARROW-1694:
-------------------------------

[~tedxu], why do you think the root should be closed here? 

> [Java] Unclosed VectorSchemaRoot in JsonFileReader#readDictionaryBatches()
> --------------------------------------------------------------------------
>
>                 Key: ARROW-1694
>                 URL: https://issues.apache.org/jira/browse/ARROW-1694
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java - Vectors
>            Reporter: Ted Yu
>            Priority: Minor
>             Fix For: 0.8.0
>
>
> {code}
>       VectorSchemaRoot root = new VectorSchemaRoot(fields, vectors, 
> vector.getAccessor().getValueCount());
>       read(root);
> {code}
> root should be closed upon return from the method.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to