yihua commented on code in PR #12843:
URL: https://github.com/apache/hudi/pull/12843#discussion_r2011191079
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/KeyBasedFileGroupRecordBuffer.java:
##########
@@ -123,6 +132,18 @@ public void processNextDeletedRecord(DeleteRecord
deleteRecord, Serializable rec
}
}
+ protected void processCustomDeleteRecord(T record, Map<String, Object>
metadata) {
+ DeleteRecord deleteRecord = DeleteRecord.create(
+ new HoodieKey(
+ (String) metadata.get(INTERNAL_META_RECORD_KEY),
+ null),
Review Comment:
Added.
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/PositionBasedFileGroupRecordBuffer.java:
##########
@@ -202,6 +203,15 @@ public void processDeleteBlock(HoodieDeleteBlock
deleteBlock) throws IOException
}
}
+ protected void processCustomDeleteRecord(T record, Map<String, Object>
metadata, long recordPosition) {
+ DeleteRecord deleteRecord = DeleteRecord.create(
+ new HoodieKey(
+ (String) metadata.get(INTERNAL_META_RECORD_KEY), null),
Review Comment:
Addressed.
--
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]