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/08/15 16:46:00 UTC

[jira] [Resolved] (ARROW-6180) [C++] Create InputStream that is an isolated reader of a segment of a RandomAccessFile

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

Wes McKinney resolved ARROW-6180.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request 5085
[https://github.com/apache/arrow/pull/5085]

> [C++] Create InputStream that is an isolated reader of a segment of a RandomAccessFile
> --------------------------------------------------------------------------------------
>
>                 Key: ARROW-6180
>                 URL: https://issues.apache.org/jira/browse/ARROW-6180
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> If different threads wants to do buffered reads over different portions of a file (and they are unable to create their own separate file handles), they may clobber each other. I would propose creating an object that keeps the RandomAccessFile internally and implements the InputStream API in a way that is safe from other threads changing the file position



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)