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

    https://github.com/apache/spark/pull/20630#discussion_r168883881
  
    --- Diff: 
common/sketch/src/main/java/org/apache/spark/util/sketch/Murmur3_x86_32.java ---
    @@ -60,6 +60,8 @@ public static int hashUnsafeWords(Object base, long 
offset, int lengthInBytes, i
       }
     
       public static int hashUnsafeBytes(Object base, long offset, int 
lengthInBytes, int seed) {
    +    // This is not compatible with original and another implementations.
    +    // But remain it for backward compatibility for the components 
existing before 2.3.
    --- End diff --
    
    NIT: touch this up. The sentence is a bit weird, i.e.: `However we retain 
this implementation for backwards compatibility with pre-existing (pre 2.3) 
components.`


---

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

Reply via email to