You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Werner Daehn (JIRA)" <ji...@apache.org> on 2018/01/04 09:57:00 UTC

[jira] [Created] (PARQUET-1184) Make DelegatingPositionOutputStream a concrete class

Werner Daehn created PARQUET-1184:
-------------------------------------

             Summary: Make DelegatingPositionOutputStream a concrete class
                 Key: PARQUET-1184
                 URL: https://issues.apache.org/jira/browse/PARQUET-1184
             Project: Parquet
          Issue Type: Improvement
          Components: parquet-avro
    Affects Versions: 1.9.1
            Reporter: Werner Daehn
             Fix For: 1.10.0


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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)