yihua opened a new pull request #1149: [HUDI-472] Introduce configurations and 
new modes of sorting for bulk_insert
URL: https://github.com/apache/incubator-hudi/pull/1149
 
 
   ## What is the purpose of the pull request
   
   Introduce configurations and new modes of sorting for bulk_insert.
   - New configuration of sorting for bulk_insert:
     - hoodie.bulkinsert.sort.enable: whether to enable sorting during 
bulk_insert
     - hoodie.bulkinsert.sort.type: what type of sorting should be used, when 
the sorting is enabled.  Two sorting modes are implemented: global sort and 
local sort inside each RDD partition.
   - Two modes of sorting:
     - Global sort: sort the Hudi records across all RDD partitions for 
bulk_insert, by using `sortBy()` in Spark
     - Local sort inside each RDD partition: only sort the Hudi records within 
each RDD partition, by using `repartitionAndSortWithinPartitions()` in Spark
   
   ## Brief change log
   
   Changes the files inside `hudi-client` package (will add more details once 
ready).
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
   *(example:)*
   
     - *Added integration tests for end-to-end.*
     - *Added HoodieClientWriteTest to verify the change.*
     - *Manually verified the change by running a job locally.*
   
   ## 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]


With regards,
Apache Git Services

Reply via email to