You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Danny Chen (Jira)" <ji...@apache.org> on 2021/08/11 02:22:00 UTC

[jira] [Resolved] (HUDI-2170) Always choose the latest record for HoodieRecordPayload

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

Danny Chen resolved HUDI-2170.
------------------------------
    Resolution: Fixed

Fixed via master branch: 5448cdde7e45c39b8bf8275d9f3ee425c9bfa90e

> Always choose the latest record for HoodieRecordPayload
> -------------------------------------------------------
>
>                 Key: HUDI-2170
>                 URL: https://issues.apache.org/jira/browse/HUDI-2170
>             Project: Apache Hudi
>          Issue Type: Improvement
>          Components: Common Core
>            Reporter: Danny Chen
>            Assignee: Danny Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>
> Now in {{OverwriteWithLatestAvroPayload.preCombine}}, we still choose the old record when the new record has the same preCombine field with the old one, actually it is more natural to keep the new incoming record instead. The {{DefaultHoodieRecordPayload.combineAndGetUpdateValue}} method already did that.
> See issue: https://github.com/apache/hudi/issues/3266.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)