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/09/20 17:44:01 UTC

[jira] [Resolved] (ARROW-6640) [C++] Error when BufferedInputStream Peek more than bytes buffered

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

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

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

> [C++] Error when BufferedInputStream Peek more than bytes buffered
> ------------------------------------------------------------------
>
>                 Key: ARROW-6640
>                 URL: https://issues.apache.org/jira/browse/ARROW-6640
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Zherui Cao
>            Assignee: Zherui Cao
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> An example:
> BufferedInputStream:Peek(10), but only 8 buffered remaining (buffer_pos is 2 right now)
> it will increase the buffer size by 2. In the mean time the buffer_pos will be reset to 0, but it should remain 2.
> Resetting buffer_pos will cause problems.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)