batubond007 opened a new pull request, #46370:
URL: https://github.com/apache/spark/pull/46370

   …e for Bloom Filter
   
   ### What changes were proposed in this pull request?
   
   This PR introduces a new 128 bit hashing function based on Guava's solution. 
Bloom filter is now created based on hashing strategy, which is decided by the 
bit size of the Bloom Filter.
   
   ### Why are the changes needed?
   
   When the decided bit size by Bloom Filter is greater than Integer.MAX_VALUE, 
32 bit hashing function wastes the bits which index is greater than 
Integer.MAX_VALUE.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, hashing function is decided by BloomFilter.
   
   ### How was this patch tested?
   
   Added UT for new hashing function. Manually tested the BloomFilter with N is 
near 500 million.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to