AxelSync opened a new pull request #25034: [SPARK-27560][Java API] Provide an 
hash partitioning method which supports seeding
URL: https://github.com/apache/spark/pull/25034
 
 
   ## What changes were proposed in this pull request?
   
   A SeedHashPartitioner class is provided. 
   SeedHashPartitioner extends SeedHashPartitioner and receives an integer 
seed. 
   
   Instead of using java.Object.HashCode(), SeedHashPartitioner implements a 
simple seed-based hashing algorithm
   
   ## How was this patch tested?
   
   Manual testing with all the primitives and their array form.
   Manual testing with boxed case classes
   
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to