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

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

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

> [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
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to