You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2019/03/30 04:53:25 UTC
[hive] branch master updated: HIVE-21517 : Fix AggregateStatsCache
(Miklos Gergely via Ashutosh Chauhan)
This is an automated email from the ASF dual-hosted git repository.
hashutosh 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 422578a HIVE-21517 : Fix AggregateStatsCache (Miklos Gergely via Ashutosh Chauhan)
422578a is described below
commit 422578ad9888fccb96bb5b829ffa6ddb6e9db6d4
Author: Miklos Gergely <mg...@hortonworks.com>
AuthorDate: Fri Mar 29 21:52:44 2019 -0700
HIVE-21517 : Fix AggregateStatsCache (Miklos Gergely via Ashutosh Chauhan)
Signed-off-by: Ashutosh Chauhan <ha...@apache.org>
---
.../main/java/org/apache/hadoop/hive/metastore/AggregateStatsCache.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AggregateStatsCache.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AggregateStatsCache.java
index 8e920bb..125e5b9 100644
--- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AggregateStatsCache.java
+++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AggregateStatsCache.java
@@ -253,6 +253,7 @@ public class AggregateStatsCache {
// Check if this is the best match so far
if (matchStats.hits > bestMatchHits) {
bestMatch = candidate;
+ bestMatchHits = matchStats.hits;
}
}
}