Skip to content
  • Shintaro Murakami's avatar
    d5ed2108
    [SPARK-23381][CORE] Murmur3 hash generates a different value from other implementations · d5ed2108
    Shintaro Murakami authored
    ## What changes were proposed in this pull request?
    Murmur3 hash generates a different value from the original and other implementations (like Scala standard library and Guava or so) when the length of a bytes array is not multiple of 4.
    
    ## How was this patch tested?
    Added a unit test.
    
    **Note: When we merge this PR, please give all the credits to Shintaro Murakami.**
    
    Author: Shintaro Murakami <mrkm4ntrgmail.com>
    
    Author: gatorsmile <gatorsmile@gmail.com>
    Author: Shintaro Murakami <mrkm4ntr@gmail.com>
    
    Closes #20630 from gatorsmile/pr-20568.
    d5ed2108
    [SPARK-23381][CORE] Murmur3 hash generates a different value from other implementations
    Shintaro Murakami authored
    ## What changes were proposed in this pull request?
    Murmur3 hash generates a different value from the original and other implementations (like Scala standard library and Guava or so) when the length of a bytes array is not multiple of 4.
    
    ## How was this patch tested?
    Added a unit test.
    
    **Note: When we merge this PR, please give all the credits to Shintaro Murakami.**
    
    Author: Shintaro Murakami <mrkm4ntrgmail.com>
    
    Author: gatorsmile <gatorsmile@gmail.com>
    Author: Shintaro Murakami <mrkm4ntr@gmail.com>
    
    Closes #20630 from gatorsmile/pr-20568.
Loading