vinothchandar commented on code in PR #13686:
URL: https://github.com/apache/hudi/pull/13686#discussion_r2263191341


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java:
##########
@@ -243,7 +292,7 @@ public ByteArrayOutputStream getAvroBytes(Schema 
recordSchema, Properties props)
   @Override
   protected final void writeRecordPayload(IndexedRecord payload, Kryo kryo, 
Output output) {
     // NOTE: We're leveraging Spark's default [[GenericAvroSerializer]] to 
serialize Avro
-    Serializer<GenericRecord> avroSerializer = 
kryo.getSerializer(GenericRecord.class);
+    Serializer<SerializableIndexedRecord> avroSerializer = 
kryo.getSerializer(SerializableIndexedRecord.class);

Review Comment:
   note to register `SerializableIndexedRecord` with Kryo. in the right places. 
Please resolve if its taken care of



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