[ https://issues.apache.org/jira/browse/HUDI-4545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-4545: --------------------------------- Labels: pull-request-available (was: ) > 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)