Wes McKinney created ARROW-6126:
-----------------------------------
Summary: [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
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
(v7.6.14#76016)