dssysolyatin commented on a change in pull request #707:
URL: https://github.com/apache/parquet-mr/pull/707#discussion_r794344312
##########
File path:
parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetReader.java
##########
@@ -104,7 +104,7 @@ public ParquetReader(Configuration conf, Path file,
ReadSupport<T> readSupport,
this(conf, file, readSupport, FilterCompat.get(unboundRecordFilter));
}
- private ParquetReader(Configuration conf,
+ public ParquetReader(Configuration conf,
Review comment:
Yes, you are right. I need another method. Finally, I can get rid of the
hack :)
```
private val constructor = {
val ctor = classTag.runtimeClass.getDeclaredConstructor(
classOf[java.util.List[InputFile]],
classOf[ParquetReadOptions],
classOf[ReadSupport[Row]]
)
ctor.setAccessible(true)
ctor
}
```
--
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]