Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-3236

[C++] OutputStream bookkeeping logic when writing IPC file format is incorrect

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.10.0
    • 0.11.0
    • C++

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h