danny0405 commented on code in PR #13742:
URL: https://github.com/apache/hudi/pull/13742#discussion_r2299937065


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroRecordMerger.java:
##########
@@ -55,10 +82,10 @@ public HoodieRecordType getRecordType() {
 
   private Option<IndexedRecord> combineAndGetUpdateValue(HoodieRecord older, 
HoodieRecord newer, Schema oldSchema, Schema newSchema, Properties props) 
throws IOException {
     Option<IndexedRecord> previousAvroData = older.toIndexedRecord(oldSchema, 
props).map(HoodieAvroIndexedRecord::getData);
-    if (!previousAvroData.isPresent()) {
-      return Option.empty();
+    HoodieRecordPayload payload = ((HoodieAvroRecord) newer).getData();
+    if (previousAvroData.isEmpty()) {

Review Comment:
   this is always false now.



-- 
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]

Reply via email to