You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2020/09/21 18:53:00 UTC
[jira] [Resolved] (PARQUET-1913) ParquetReader Should Support
InputFile
[ https://issues.apache.org/jira/browse/PARQUET-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Mollitor resolved PARQUET-1913.
-------------------------------------
Resolution: Won't Fix
> ParquetReader Should Support InputFile
> --------------------------------------
>
> Key: PARQUET-1913
> URL: https://issues.apache.org/jira/browse/PARQUET-1913
> Project: Parquet
> Issue Type: Improvement
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Major
>
> When creating a {{ParquetReader}}, a "read support" object is required.
> https://github.com/apache/parquet-mr/blob/master/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetReader.java#L325-L330
> However, when building from an {{InputFile}}, 'readSupport' is always 'null' and therefore will never work.
> https://github.com/apache/parquet-mr/blob/master/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetReader.java#L202
> Add the read support option just as is done with a {{Path}} object.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)