Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1636

[C++] Incompatibility due to moving from Parquet to Arrow IO interfaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • cpp-4.0.0
    • parquet-cpp
    • None

    Description

      We moved to the Arrow IO interfaces as part of https://issues.apache.org/jira/browse/PARQUET-1422

      However, the BufferedInputStream implementations between Parquet and Arrow are different.

      Parquet's BufferedInputStream used to takes a RandomAccessSource. Arrow's implementation takes an InputStream. As a result, theĀ ::arrow::io::BufferedInputStream::Peek(which invokes Read()) implementation causes the raw source (input to BufferedInputStream) to change its offset on Peek(). This did not happen in the Parquet's BufferedInputStream implementation.

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              mdeepak Deepak Majeti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: