Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.0
-
None
Description
Flink's MurmurHash implementation differs from the published algorithm.
From Flink's MathUtils.java:
code *= 0xe6546b64;
The Murmur3_32 algorithm as described by Wikipedia:
m ← 5 n ← 0xe6546b64 hash ← hash × m + n
and in Guava's Murmur3_32HashFunction.java:
h1 = h1 * 5 + 0xe6546b64;