[Hudi-1583]: Fix bug that Hudi will skip remaining log files if there is logFile with zero size in logFileList when merge on read. (#2584)
Co-authored-by: liulietong <liulietong@bytedance.com>
This commit is contained in:
@@ -104,7 +104,7 @@ public class HoodieLogFormatReader implements HoodieLogFormat.Reader {
|
||||
throw new HoodieIOException("unable to initialize read with log file ", io);
|
||||
}
|
||||
LOG.info("Moving to the next reader for logfile " + currentReader.getLogFile());
|
||||
return this.currentReader.hasNext();
|
||||
return hasNext();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user