You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2019/11/06 18:38:58 UTC
[incubator-iceberg] branch master updated: Fix
ObjectsHashCodePrimitive error (#612)
This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 0590a32 Fix ObjectsHashCodePrimitive error (#612)
0590a32 is described below
commit 0590a32924b202da2a59215e7c3fe9247c22b6e9
Author: Fokko Driesprong <fo...@apache.org>
AuthorDate: Wed Nov 6 19:38:49 2019 +0100
Fix ObjectsHashCodePrimitive error (#612)
---
api/src/main/java/org/apache/iceberg/PartitionSpec.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/api/src/main/java/org/apache/iceberg/PartitionSpec.java b/api/src/main/java/org/apache/iceberg/PartitionSpec.java
index da51598..15979c7 100644
--- a/api/src/main/java/org/apache/iceberg/PartitionSpec.java
+++ b/api/src/main/java/org/apache/iceberg/PartitionSpec.java
@@ -33,7 +33,6 @@ import java.net.URLEncoder;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
-import java.util.Objects;
import java.util.Set;
import org.apache.iceberg.exceptions.ValidationException;
import org.apache.iceberg.transforms.Transforms;
@@ -214,7 +213,7 @@ public class PartitionSpec implements Serializable {
@Override
public int hashCode() {
- return Objects.hashCode(Arrays.hashCode(fields));
+ return Integer.hashCode(Arrays.hashCode(fields));
}
private List<PartitionField> lazyFieldList() {