Github user mrkm4ntr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20568#discussion_r168659153
  
    --- Diff: 
common/sketch/src/main/java/org/apache/spark/util/sketch/Murmur3_x86_32.java ---
    @@ -71,6 +73,20 @@ public static int hashUnsafeBytes(Object base, long 
offset, int lengthInBytes, i
         return fmix(h1, lengthInBytes);
       }
     
    +  public static int hashUnsafeBytes2(Object base, long offset, int 
lengthInBytes, int seed) {
    +    // This is compatible with original and another implementations.
    +    // Use this method after 2.3.0.
    --- End diff --
    
    Thanks, fixed it.


---

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

Reply via email to