You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "pankajbsn (via GitHub)" <gi...@apache.org> on 2023/03/06 14:28:50 UTC
[GitHub] [hudi] pankajbsn commented on issue #8103: [SUPPORT] How to update record in OverwriteWithLatestAvroPayload.preCombine
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org