Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DB585200CFE for ; Fri, 8 Sep 2017 08:35:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DA4061609E4; Fri, 8 Sep 2017 06:35:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2C06F160E38 for ; Fri, 8 Sep 2017 08:35:10 +0200 (CEST) Received: (qmail 74014 invoked by uid 500); 8 Sep 2017 06:34:59 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 69906 invoked by uid 99); 8 Sep 2017 06:34:56 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2017 06:34:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 57A8DF572D; Fri, 8 Sep 2017 06:34:55 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: weiz@apache.org To: commits@hive.apache.org Date: Fri, 08 Sep 2017 06:35:52 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [60/74] [abbrv] hive git commit: HIVE-17265: Cache merged column stats from retrieved partitions (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan) (addendum) archived-at: Fri, 08 Sep 2017 06:35:11 -0000 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 Authored: Tue Sep 5 17:29:38 2017 -0700 Committer: Jesus Camacho Rodriguez 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(); } // Merge stats from cache with metastore cache if (colStatsCache != null) {