5herhom commented on code in PR #6254:
URL: https://github.com/apache/hudi/pull/6254#discussion_r933926646
##########
hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/realtime/HoodieMergeOnReadTableInputFormat.java:
##########
@@ -85,7 +85,7 @@ public InputSplit[] getSplits(JobConf job, int numSplits)
throws IOException {
}
@Override
- protected FileStatus createFileStatusUnchecked(FileSlice fileSlice,
HiveHoodieTableFileIndex fileIndex, Option<HoodieVirtualKeyInfo>
virtualKeyInfoOpt) {
+ protected Option<? extends FileStatus> createFileStatusUnchecked(FileSlice
fileSlice, HiveHoodieTableFileIndex fileIndex, Option<HoodieVirtualKeyInfo>
virtualKeyInfoOpt) {
Review Comment:
To be compatible with
HoodieCopyOnWriteTableInputFormat.createFileStatusUnchecked(),wrap the return
with option
--
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]