[ 
https://issues.apache.org/jira/browse/HUDI-8575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Y Ethan Guo updated HUDI-8575:
------------------------------
    Priority: Blocker  (was: Major)

> Revisit payload class hierarchy
> -------------------------------
>
>                 Key: HUDI-8575
>                 URL: https://issues.apache.org/jira/browse/HUDI-8575
>             Project: Apache Hudi
>          Issue Type: Improvement
>            Reporter: Y Ethan Guo
>            Priority: Blocker
>             Fix For: 1.1.0
>
>
> From the legacy, OverwriteWithLatestAvroPayload is used for event-time 
> ordering implemented in the #preCombine, which is used by the merged log 
> scanner in MOR table (note that this support is limited since 
> OverwriteWithLatestAvroPayload#combineAndGetUpdateValue still ignores 
> ordering value), until DefaultHoodieRecordPayload is added to support 
> event-time ordering.  However, `OverwriteWithLatestAvroPayload` is supposed 
> to follow the commit-time ordering, and HUDI-8521 fixes that in Hudi 1.0.  
> During the changes, we see that many payload implementations like 
> AbstractDebeziumAvroPayload which has event time semantics still extend 
> OverwriteWithLatestAvroPayload.  To maintain the same behavior as before, 
> HUDI-8521 makes each of such payload classes to override the preCombine logic.
> We should revisit the payload class hierarchy so that such payload class may 
> extend 
> DefaultHoodieRecordPayload.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to