Skip to content

Commit

Permalink
[MINOR] fix progress field calculate logic in HoodieLogRecordReader (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
flashJd authored and voonhous committed Oct 7, 2022
1 parent 661a0a7 commit ca911e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ private void processQueuedBlocksForInstant(Deque<HoodieLogBlock> logBlocks, int
}
}
// At this step the lastBlocks are consumed. We track approximate progress by number of log-files seen
progress = numLogFilesSeen - 1 / logFilePaths.size();
progress = (numLogFilesSeen - 1) / logFilePaths.size();
}

private ClosableIterator<IndexedRecord> getRecordsIterator(HoodieDataBlock dataBlock, Option<KeySpec> keySpecOpt) throws IOException {
Expand Down

0 comments on commit ca911e9

Please sign in to comment.