You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Tom Xing (Jira)" <ji...@apache.org> on 2022/09/27 06:24:00 UTC

[jira] [Commented] (HUDI-4545) Do not modify the current record directly for OverwriteNonDefaultsWithLatestAvroPayload

    [ https://issues.apache.org/jira/browse/HUDI-4545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609844#comment-17609844 ] 

Tom Xing commented on HUDI-4545:
--------------------------------

我

> Do not modify the current record directly for OverwriteNonDefaultsWithLatestAvroPayload
> ---------------------------------------------------------------------------------------
>
>                 Key: HUDI-4545
>                 URL: https://issues.apache.org/jira/browse/HUDI-4545
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.12.0
>            Reporter: Danny Chen
>            Assignee: Danny Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.12.0
>
>
> Currently, we use short-cut logic:
> {code:java}
> a == b
> // for example: HoodieMergeHandle#writeUpdateRecord
> {code}
> to decide whether the update happens, in principle, we should not modify the records from disk directly, they should be kept as immutable, for any changes, we should return new records instead.



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