linliu-code commented on code in PR #10286:
URL: https://github.com/apache/hudi/pull/10286#discussion_r1424512510
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroRecordMerger.java:
##########
@@ -59,6 +59,13 @@ private Option<IndexedRecord>
combineAndGetUpdateValue(HoodieRecord older, Hoodi
return Option.empty();
}
+ if (newer.isDelete(schema, props)) {
+ if (newer.getOrderingValue(schema,
props).compareTo(older.getOrderingValue(schema, props)) >= 0) {
+ return Option.empty();
Review Comment:
@yihua, @codope, do you guys have any comments?
--
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]