Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/20630#discussion_r168904179
--- 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 --
Will correct it in the follow-up PR.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]