linliu-code commented on code in PR #10286:
URL: https://github.com/apache/hudi/pull/10286#discussion_r1424512086
##########
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:
Meanwhile, this bug blocks some tests I am working on. So I will try to fix
this for general Avro payload first.
--
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]