nsivabalan commented on issue #2178: URL: https://github.com/apache/hudi/issues/2178#issuecomment-710029348
yes, are you right. bitsize to initialize bloom is an objective function of both numEntries and ffp. (int) Math.ceil(numEntries * (-Math.log(errorRate) / (Math.log(2) * Math.log(2))) You can check [this](https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/bloom/BloomFilterUtils.java) file for the math. NumEntries 60000, with error rate 0.000000001 Bitsize 2587966, numHashes 30 Bloom filter ser string size : 431348 NumEntries 1500000, with error rate 0.000000001 Bitsize 64699145, numHashes 30 Bloom filter ser string size : 10783212 ---------------------------------------------------------------- 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]
