pankajbsn commented on issue #8103: URL: https://github.com/apache/hudi/issues/8103#issuecomment-1456241236
After changing to following line, it worked. Bottomline is make sure the object instance that you are creating is an instance of your payload class and not the generic OverwriteWithLatestAvroPayload. ```java MsgDetailPayload newRec1 = new MsgDetailPayload(HoodieAvroUtils.bytesToAvro(newRec.recordBytes,defaultSchema), newRec.orderingVal); ``` -- 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]
