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:31:00 UTC
[jira] [Created] (PARQUET-1913) ParquetReader Should Support
InputFile
David Mollitor created PARQUET-1913:
---------------------------------------
Summary: 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
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)