[ https://issues.apache.org/jira/browse/HUDI-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
karl wang updated HUDI-1284: ---------------------------- Description: When more than one HoodieRecord have the same HoodieKey, this function combines all fields(which is not DefaultValue) before attempting to insert/upsert (if combining turned on in HoodieClientConfig). eg: 1) Before: id name age ts 1 Karl null 0.0 1 null 18 0.0 After: id name age ts 1 Karl 18 0.0 was: When more than one HoodieRecord have the same HoodieKey, this function combines all fields(which is not null) before attempting to insert/upsert (if combining turned on in HoodieClientConfig). eg: 1) Before: id name age ts 1 Karl null 0.0 1 null 18 0.0 After: id name age ts 1 Karl 18 0.0 > preCombine all HoodieRecords and update all fields(which is not DefaultValue) > according to orderingVal > ------------------------------------------------------------------------------------------------------- > > Key: HUDI-1284 > URL: https://issues.apache.org/jira/browse/HUDI-1284 > Project: Apache Hudi > Issue Type: New Feature > Components: Writer Core > Reporter: karl wang > Priority: Major > Fix For: 0.6.1 > > > When more than one HoodieRecord have the same HoodieKey, this function > combines all fields(which is not DefaultValue) > before attempting to insert/upsert (if combining turned on in > HoodieClientConfig). > eg: 1) > Before: > id name age ts > 1 Karl null 0.0 > 1 null 18 0.0 > After: > id name age ts > 1 Karl 18 0.0 -- This message was sent by Atlassian Jira (v8.3.4#803005)