xuzifu666 commented on PR #10857:
URL: https://github.com/apache/hudi/pull/10857#issuecomment-2014193442

   > @xuzifu666 @danny0405 Please correct me if I'm wrong. The difference 
between `FirstValueAvroPayload` and `DefaultHoodieRecordPayload` is the 
behavior if the old record and new record has same primary key values and 
precombine key values. Currently, the behavior of most of payload (e.g, 
`DefaultHoodieRecordPayload`, `PartialUpdateAvroPayload` and so on) is take the 
new record in the above case. And `FirstValueAvroPayload` want to take the old 
record in the case, right? I could understand this is a real requirement. But I 
wonder how to handle other payload if the user also want to take the old record?
   
   Make sense, thank for your point, this is a problem. Other payload refactor 
would take a big task to do. Wether we provide a payload for this sence 
firstly,then consider the more large refactor for all payload. @beyond1920 


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