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

   ### Change Logs
   
   After upgrade the version to 0.14.0, the performance of the Spark job, which 
is written into a simple bucket index table, is regressing.
   
![image](https://github.com/apache/hudi/assets/1525333/1652062b-3a96-4ed1-943a-9040ea7737ce)
   
   The reason is in the [PR#4480](https://github.com/apache/hudi/pull/4480), 
the refactor of bucket index introduce two unnecessary stages in tag for simple 
bucket index.
   `List<String> partitions = 
records.map(HoodieRecord::getPartitionPath).distinct().collectAsList();`
   
   ### Impact
   
   NA
   
   ### Documentation Update
   
   NA
   
   ### 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