osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3236) [C++] OutputStream bookkeeping logic when writing IPC file format is incorrect


Wes McKinney created ARROW-3236:
-----------------------------------

             Summary: [C++] OutputStream bookkeeping logic when writing IPC file format is incorrect
                 Key: ARROW-3236
                 URL: https://issues.apache.org/jira/browse/ARROW-3236
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
    Affects Versions: 0.10.0
            Reporter: Wes McKinney
            Assignee: Wes McKinney
             Fix For: 0.11.0


The {{position_}} field is initialized as -1, but the file writer class begins writing and aligning the format without updating the position, so this results in an extra byte written. This was reported in https://github.com/apache/arrow/issues/2559. A bit disturbing that this was not caught in unit tests



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)