nsivabalan opened a new pull request #2311:
URL: https://github.com/apache/hudi/pull/2311


   ## What is the purpose of the pull request
   
   Existing OverwriteWithLatestAvroPayload always chooses incoming record when 
combineAndGetUpdateValue is called, but there are chances a record is late 
arriving and needs to be ignored. Hence adding OverwriteWithLatestAvroPayloadV1 
to honor ordering with combineAndGetUpdateValue. 
   
   ## Brief change log
   
   - Adding OverwriteWithLatestAvroPayloadV1 to honor ordering with 
combineAndGetUpdateValue. 
   - Added config "hoodie.datasource.honor.ordering.while.merging" which will 
determine to use OverwriteWithLatestAvroPayload or 
OverwriteWithLatestAvroPayloadV1. 
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
     - *Added tests tp TestDataSourceDefaults to verify the change.*
     - *Added TestOverwriteWithLatestAvroPayloadV1 to0 verify the new payload 
class*
   
   ## Committer checklist
   
    - [ ] 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]


Reply via email to