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

   ### Change Logs
   
   Support Custom partitioner in append mode.
   For example default `DefaultInsertPartitioner` can be use to re-balance 
input records aiming to reduce small files.
   
   Before using DefaultInsertPartitioner
   <img width="840" alt="截屏2023-11-24 19 26 44" 
src="https://github.com/apache/hudi/assets/69956021/4aba3610-1a16-406f-b650-f8b7407ab2f5";>
   
   
![image](https://github.com/apache/hudi/assets/69956021/6098575f-7965-41f8-8fb6-83f186e6f5a8)
   
   `hdfs dfs -count hdfs://ns/xxx/xxx ==> 4801 `
   
   After using DefaultInsertPartitioner
   <img width="756" alt="截屏2023-11-24 19 26 49" 
src="https://github.com/apache/hudi/assets/69956021/5331fb03-4e2f-4667-836c-ecec35c70fae";>
   
   
   <img width="239" alt="截屏2023-11-24 19 18 22" 
src="https://github.com/apache/hudi/assets/69956021/16197a19-a126-4b56-8336-431d7daf7066";>
   
   `hdfs dfs -count dfs://ns/xxx/xxx  ==> 1950`
   
   **_Reduce 59.38%_**
   
   
   ### Impact
   
   Flink streaming append mode
   
   ### Risk level (write none, low medium or high below)
   
   Low
   
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, 
config, or user-facing change_
   
   - _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