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 C42DD200BB7 for ; Wed, 26 Oct 2016 03:25:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C2E0B160AFA; Wed, 26 Oct 2016 01:25:09 +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 174D9160AD8 for ; Wed, 26 Oct 2016 03:25:08 +0200 (CEST) Received: (qmail 96882 invoked by uid 500); 26 Oct 2016 01:25:08 -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 96871 invoked by uid 99); 26 Oct 2016 01:25:08 -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; Wed, 26 Oct 2016 01:25:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 19B0FE058E; Wed, 26 Oct 2016 01:25:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sershe@apache.org To: commits@hive.apache.org Message-Id: <35a3f8698cf94b709f10e4784c3734f7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hive git commit: HIVE-15064 : fix explain for MM tables - don't output for non-MM tables (Sergey Shelukhin) Date: Wed, 26 Oct 2016 01:25:08 +0000 (UTC) archived-at: Wed, 26 Oct 2016 01:25:09 -0000 Repository: hive Updated Branches: refs/heads/hive-14535 c050e691d -> 38cd0a67c HIVE-15064 : fix explain for MM tables - don't output for non-MM tables (Sergey Shelukhin) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/38cd0a67 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/38cd0a67 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/38cd0a67 Branch: refs/heads/hive-14535 Commit: 38cd0a67cf6af795b874239996e6d3edd5b5df16 Parents: c050e69 Author: Sergey Shelukhin Authored: Tue Oct 25 18:20:15 2016 -0700 Committer: Sergey Shelukhin Committed: Tue Oct 25 18:20:15 2016 -0700 ---------------------------------------------------------------------- ql/src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/38cd0a67/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java ---------------------------------------------------------------------- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java index 86e5f3c..7039f1f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java @@ -144,10 +144,14 @@ public class LoadTableDesc extends org.apache.hadoop.hive.ql.plan.LoadDesc } @Explain(displayName = "micromanaged table") - public Boolean isMmTable() { + public Boolean isMmTableExplain() { return mmWriteId != null? true : null; } + public boolean isMmTable() { + return mmWriteId != null; + } + public void setReplace(boolean replace) { this.replace = replace; }