1
0

[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:
Liulietong
2021-02-27 06:43:47 +08:00
committed by GitHub
parent 022df0d1b1
commit be257b58c6

View File

@@ -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;
}