nbalajee opened a new pull request #2309:
URL: https://github.com/apache/hudi/pull/2309


   …f a nested record field.
   
   ## What is the purpose of the pull request
   
   If schema contains nested records, then HoodieAvroUtils rewrite() function 
copies the record fields as-is, from the oldrecord to the newRecord.   If 
fields of the nested record have evolved, it would result in 
SchemaCompatibilityException or ArrayIndexOutOfBoundsException.  
   
   ## Brief change log
   
   Modify HoodieAvroUtils rewrite() to rewrite the evolved fields, with 
new/evolved fields initialized to null.
   
   ## Verify this pull request
   
   This pull request is already covered by existing tests, such as 
TestHoodieAvroUtils.
   
   ## Committer checklist
   
    - [ x] Has a corresponding JIRA in PR title & commit
    
    - [ x] Commit message is descriptive of the change
    
    - [ x] 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