You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by de...@apache.org on 2025/08/29 04:49:18 UTC
(hive) branch master updated: HIVE-29165: PartColNameInfo could introduce high hash collision due to the wide table (#6044)
This is an automated email from the ASF dual-hosted git repository.
dengzh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 1d6179dbff1 HIVE-29165: PartColNameInfo could introduce high hash collision due to the wide table (#6044)
1d6179dbff1 is described below
commit 1d6179dbff10d3594c31e319cdde2e7d2e08136b
Author: dengzh <de...@gmail.com>
AuthorDate: Fri Aug 29 12:49:13 2025 +0800
HIVE-29165: PartColNameInfo could introduce high hash collision due to the wide table (#6044)
---
.../main/java/org/apache/hadoop/hive/metastore/DirectSqlUpdatePart.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DirectSqlUpdatePart.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DirectSqlUpdatePart.java
index b6df3038983..15924396932 100644
--- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DirectSqlUpdatePart.java
+++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DirectSqlUpdatePart.java
@@ -1367,7 +1367,7 @@ public PartColNameInfo(long partitionId, String colName, String engine) {
@Override
public int hashCode() {
- return (int)partitionId;
+ return Objects.hash(partitionId, colName, engine);
}
@Override