You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Fokko Driesprong (Jira)" <ji...@apache.org> on 2020/05/07 15:59:00 UTC

[jira] [Resolved] (PARQUET-1775) Deprecate AvroParquetWriter Builder Hadoop Path

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

Fokko Driesprong resolved PARQUET-1775.
---------------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

> Deprecate AvroParquetWriter Builder Hadoop Path
> -----------------------------------------------
>
>                 Key: PARQUET-1775
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1775
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> Trying to write a sample program with Parquet and came across the following quark:
>  
> The {{AvroParquetWriter}} has no qualms about building one using {{org.apache.hadoop.fs.Path}}.  However, doing so in {{AvroParquetReader}} is deprecated.  I think it's appropriate to remove all dependencies of Hadoop from this simple reader/writer API.
>  
> To make it consistent, also deprecate the use of {{org.apache.hadoop.fs.Path}} in the {{AvroParquetWriter.}}
>  
> [https://github.com/apache/parquet-mr/blob/8c1bc9bcdeeac8178fecf61d18dc56913907fd46/parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetWriter.java#L38]
>  
> https://github.com/apache/parquet-mr/blob/8c1bc9bcdeeac8178fecf61d18dc56913907fd46/parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetReader.java#L47



--
This message was sent by Atlassian Jira
(v8.3.4#803005)