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

Make DelegatingPositionOutputStream a concrete class

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.1
    • Fix Version/s: None
    • Component/s: parquet-avro
    • Labels:
      None

      Description

      I fail to understand why this is an abstract class. In my example I want to write the Parquet file to a java.io.FileOutputStream, hence have to extend the DelegatingPositionOutputStream and store the pos information, increase it in all write(..) methods and return its value in getPos().

      Doable of course, but useful? Previously yes but now with the OutputFile changes to decouple it from Hadoop more, I believe no.

      related to: https://issues.apache.org/jira/browse/PARQUET-1142

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wdaehn Werner Daehn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: