Liulietong opened a new pull request #2636:
URL: https://github.com/apache/hudi/pull/2636


   …file, Hoodie may set non-null value in field which is null if vectorization 
is enabled.
   
   ## *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
   
   * Fix bug when HoodieMergeOnReadRDD read record from base file, Hoodie may 
set non-null value in field which is null if vectorization is enabled.*
   
   ## Brief change log
   
     - When HoodieMergeOnReadRDD read record from base file,  will create new 
InternalRow base on requiredStructSchema.
     - Hoodie doesn't check isNull when get value from all fields.
   If vectorization is enabled, which  means row is ColumnarBatchRow.  
ColumnarBatchRow may return non-null value even if value of field is null. So, 
hoodie may set non-null value in field which is null.
   
   ## Verify this pull request
   
   *(Please pick either of the following options)*
   
   This pull request is a trivial rework / code cleanup without any test 
coverage.
   
   ## 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:
us...@infra.apache.org


Reply via email to