vinothchandar commented on code in PR #12206:
URL: https://github.com/apache/hudi/pull/12206#discussion_r1843150466
##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/AbstractHoodieLogRecordReader.java:
##########
@@ -253,6 +280,13 @@ private void scanInternalV1(Option<KeySpec> keySpecOpt) {
final String instantTime =
logBlock.getLogBlockHeader().get(INSTANT_TIME);
totalLogBlocks.incrementAndGet();
if (logBlock.isDataOrDeleteBlock()) {
+ if (this.tableVersion.lesserThan(HoodieTableVersion.EIGHT)) {
Review Comment:
we also need to skip/handle CORRUPT_BLOCK.. For HDFS, there will be
partially written log files, that fail in between.
--
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]