linliu-code commented on code in PR #12597:
URL: https://github.com/apache/hudi/pull/12597#discussion_r1931356229
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieBaseFileGroupRecordBuffer.java:
##########
@@ -586,6 +588,24 @@ private boolean isDeleteRecord(Option<T> record, Schema
schema) {
}
Object deleteMarker = readerContext.getValue(record.get(), schema,
HOODIE_IS_DELETED_FIELD);
- return deleteMarker instanceof Boolean && (boolean) deleteMarker;
+ if (deleteMarker instanceof Boolean && (boolean) deleteMarker) {
+ return true;
+ }
+
+ return isCustomDeleteRecord(record, schema, props);
+ }
+
+ boolean isCustomDeleteRecord(Option<T> record, Schema schema,
TypedProperties props) {
Review Comment:
Will do.
--
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]