Karl-WangSK opened a new pull request #2056: URL: https://github.com/apache/hudi/pull/2056
## *Tips* - *Thank you very much for contributing to Apache Hudi.* - *Please review https://hudi.apache.org/contributing.html before opening a pull request.* ## What is the purpose of the pull request Add new Payload(OverwriteMulColAvroPayload) for updating specified fields in storage ## Brief change log update current value for several fields that you want to change. The default payload OverwriteWithLatestAvroPayload overwrite the whole record when compared to orderingVal.This doesn't meet our need when we just want to change specified fields. For example: (suppose Default value is null) ``` current Value Field: name age gender Value: karl 20 male ``` ``` insert Value Field: name age gender Value: null 30 null ``` ``` After insert: Field: name age gender Value: karl 30 male ``` ## Verify this pull request Added TestOverwriteMulColAvroPayload to verify the change. ## Committer checklist - [x] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
