You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by we...@apache.org on 2017/09/08 06:35:52 UTC
[60/74] [abbrv] hive git commit: HIVE-17265: Cache merged column
stats from retrieved partitions (Jesus Camacho Rodriguez,
reviewed by Ashutosh Chauhan) (addendum)
HIVE-17265: Cache merged column stats from retrieved partitions (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan) (addendum)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/21465d11
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/21465d11
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/21465d11
Branch: refs/heads/hive-14535
Commit: 21465d11b0af9cccc76f1b16eceb79e6a097ea13
Parents: 5f13f28
Author: Jesus Camacho Rodriguez <jc...@apache.org>
Authored: Tue Sep 5 17:29:38 2017 -0700
Committer: Jesus Camacho Rodriguez <jc...@apache.org>
Committed: Tue Sep 5 17:29:38 2017 -0700
----------------------------------------------------------------------
ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/21465d11/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java
index 3041968..17d9f2d 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java
@@ -1096,7 +1096,7 @@ public class StatsUtils {
stats = convertColStats(colStat, tabName);
} catch (HiveException e) {
LOG.error("Failed to retrieve table statistics: ", e);
- stats = null;
+ stats = new ArrayList<ColStatistics>();
}
// Merge stats from cache with metastore cache
if (colStatsCache != null) {