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

   ### Change Logs
   
   - Unifying Partial Update Modes from TableProperty and Merge Into Partial 
Update Encoding. 
   - Fixed all of partial update handling within BufferedRecordMergerFactory. 
   - Fixed Partial update encoding support across all record formats (prior to 
this patch only spark record was supported). 
   
   Detailed changes: 
   Possible values for table property PartialUpdateMode: 
   IGNORE_DEFAULTS, IGNORE_DEFAULTS_NULLS, FILL_UNAVAILABLE. 
   
   And for table's not having such partial update requirement, we may not find 
any value for `PartialUpdateMode` in table property. 
   
   In addition to this, we also have another enum value named "KEEP_VALUES" 
which will take effect when Partial columns are encoded from Merge Into. 
   
   Hence within BufferedRecordMergerFacotry.create(), we take in two arguments 
named `enablePartialEncoding` and `Option<PartialUpdateMode>`. 
`enablePartialEncoding` boolean flag will denote whether is full record merging 
or not. 
   If enabled, the value set for PartialUpdateMode should be honored. 
   
   ### Impact
   
   - Cleaning up PartialUpdateMode feature and unifying MergeInto partial 
update encoding along with other PartialUpdateModes from table config. 
   
   ### Risk level (write none, low medium or high below)
   
   medium
   
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, 
config, or user-facing change. If not, put "none"._
   
   - _The config description must be updated if new configs are added or the 
default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. 
Please create a Jira ticket, attach the
     ticket number here and follow the 
[instruction](https://hudi.apache.org/contribute/developer-setup#website) to 
make
     changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to