linliu-code commented on code in PR #12122:
URL: https://github.com/apache/hudi/pull/12122#discussion_r1807473468
##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieMergedLogRecordScanner.java:
##########
@@ -110,6 +117,17 @@ protected <T> void processNextRecord(HoodieRecord<T>
newRecord) throws IOExcepti
}
}
+ /**
+ * Processing time based delete is found when
+ * 1. The current record is a delete whose orderingVal is default value, or
+ * 2. The current record's metadata contains the flag:
PROCESSING_TIME_BASED_DELETE_FOUND.
+ */
+ private <T> boolean hasProcessingTimeBasedDelete(HoodieRecord<T> record)
throws IOException {
+ return (record.isDelete(readerSchema, getPayloadProps())
Review Comment:
Done
--
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]