nsivabalan commented on code in PR #13615:
URL: https://github.com/apache/hudi/pull/13615#discussion_r2274582327
##########
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:
I am going to revert this change to unblock landing this patch. but we might
need to fix this as part of fixing HoodieRecordCreation.
https://issues.apache.org/jira/browse/HUDI-9713
--
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]