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/20 23:52:00 UTC

[jira] [Assigned] (ARROW-6126) [C++] IPC stream reader handling of empty streams potentially not robust

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

Wes McKinney reassigned ARROW-6126:
-----------------------------------

    Assignee: Wes McKinney

> [C++] IPC stream reader handling of empty streams potentially not robust
> ------------------------------------------------------------------------
>
>                 Key: ARROW-6126
>                 URL: https://issues.apache.org/jira/browse/ARROW-6126
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>             Fix For: 0.15.0
>
>
> If dictionaries are expected in a stream, but the stream terminates, then "empty stream" logic is triggered to suppress errors, see
> https://github.com/apache/arrow/blob/master/cpp/src/arrow/ipc/reader.cc#L482
> It's probably esoteric but this "empty stream" logic will trigger if the stream terminates in the middle of the dictionary messages, which is a legitimate error. So we should only bail out early (concluding that we have an empty stream) if the first dictionary message is null



--
This message was sent by Atlassian Jira
(v8.3.2#803003)