prashantwason opened a new pull request, #9223:
URL: https://github.com/apache/hudi/pull/9223
[HUDI-6553] Speedup column stats and bloom index creation on large datasets.
### Change Logs
When creating records for the column stats and bloom filter partitions:
1. Create list of tuples of (partitionName, fileName, isDeleted)
2. Parallelize the above list so all files are handled in parallel
Another benefit of the above approach is that creation of deletion and
append records and handled in the same code which reduces code duplication.
### Impact
In a test on large dataset (5K partition, 1.3Million files) the index
initialization time was reduced as follows:
Column Stats Index:
Before change: 21mins
After change: ~5mins
Bloom Filter Index:
Before change: 25mins
After change: ~10mins
### Risk level (write none, low medium or high below)
None
### Documentation Update
None
### 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]