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 2017/09/26 18:32:00 UTC

[jira] [Commented] (ARROW-1613) [Java] ArrowReader should not close the input ReadChannel

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

Wes McKinney commented on ARROW-1613:
-------------------------------------

Do you want this to go into 0.7.1? This patch could go in today if so cc [~siddteotia]

> [Java] ArrowReader should not close the input ReadChannel
> ---------------------------------------------------------
>
>                 Key: ARROW-1613
>                 URL: https://issues.apache.org/jira/browse/ARROW-1613
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java - Vectors
>            Reporter: Bryan Cutler
>            Assignee: Bryan Cutler
>
> Currently, {{ArrowReader.close()}} will close resources (VectorSchemaRoot and Dictionary Vectors) and also close the input ReadChannel, or InputStream for ArrowStreamReader.  Closing of the ReadChannel should be done by what ever created it because it might need to be reused.
> If this not possible, an alternative could be to add a method {{ArrowReader.end()}} that will close resources but not the ReadChannel.  Then {{end()}} could be called instead of {{close()}}.



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