linliu-code commented on code in PR #13615:
URL: https://github.com/apache/hudi/pull/13615#discussion_r2255065426


##########
hudi-common/src/main/java/org/apache/hudi/common/util/SpillableMapUtils.java:
##########
@@ -152,10 +153,13 @@ public static <R> HoodieRecord<R> 
convertToHoodieRecordPayload(GenericRecord rec
       record = recordWithoutMetaFields;
     }
 
-    HoodieRecord<? extends HoodieRecordPayload> hoodieRecord = new 
HoodieAvroRecord<>(new HoodieKey(recKey, partitionPath),
-        HoodieRecordUtils.loadPayload(payloadClazz, record, preCombineVal), 
operation);
-
-    return (HoodieRecord<R>) hoodieRecord;
+    if (StringUtils.isNullOrEmpty(payloadClazz)) {
+      return (HoodieRecord<R>) new HoodieAvroIndexedRecord(new 
HoodieKey(recKey, partitionPath), record);

Review Comment:
   yes, this is just a temporary fix to see if any tests could happen. 
@the-other-tim-brown is working on a PR to optimize HoodieAvroIndexedRecord.



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