Danny Chen created HUDI-4545:
--------------------------------

             Summary: 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
             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)

Reply via email to