diff --git a/pom.xml b/pom.xml index 78a5921257f82..bc4466a61de25 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,7 @@ 4.7.1 0.188 ${dep.airlift.version} - 0.36 + 0.38 0.6 1.11.445 3.9.0 diff --git a/presto-main/src/main/java/com/facebook/presto/type/setdigest/SetDigest.java b/presto-main/src/main/java/com/facebook/presto/type/setdigest/SetDigest.java index 666f6b4a37589..72e13b5c509a2 100644 --- a/presto-main/src/main/java/com/facebook/presto/type/setdigest/SetDigest.java +++ b/presto-main/src/main/java/com/facebook/presto/type/setdigest/SetDigest.java @@ -19,7 +19,7 @@ import com.google.common.collect.Sets; import com.google.common.primitives.Shorts; import io.airlift.slice.DynamicSliceOutput; -import io.airlift.slice.Murmur3; +import io.airlift.slice.Murmur3Hash128; import io.airlift.slice.Slice; import io.airlift.slice.SliceInput; import io.airlift.slice.SliceOutput; @@ -185,13 +185,13 @@ public static double jaccardIndex(SetDigest a, SetDigest b) public void add(long value) { - addHash(Murmur3.hash64(value)); + addHash(Murmur3Hash128.hash64(value)); hll.add(value); } public void add(Slice value) { - addHash(Murmur3.hash64(value)); + addHash(Murmur3Hash128.hash64(value)); hll.add(value); }