huaxingao commented on a change in pull request #34415:
URL: https://github.com/apache/spark/pull/34415#discussion_r738452578
##########
File path:
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/ParquetFooterReader.java
##########
@@ -47,7 +47,8 @@ public static ParquetMetadata readFooter(Configuration
configuration,
private static ParquetMetadata readFooter(HadoopInputFile inputFile,
ParquetMetadataConverter.MetadataFilter filter) throws IOException {
ParquetReadOptions readOptions =
-
HadoopReadOptions.builder(inputFile.getConfiguration()).withMetadataFilter(filter).build();
+ HadoopReadOptions.builder(inputFile.getConfiguration(),
inputFile.getPath())
+ .withMetadataFilter(filter).build();
Review comment:
super nit: shall we use 2-space indentation?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]