You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2018/03/30 21:59:00 UTC

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

     [ https://issues.apache.org/jira/browse/PARQUET-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Blue resolved PARQUET-1184.
--------------------------------
       Resolution: Won't Fix
    Fix Version/s:     (was: 1.10.0)

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)