Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7709C18EDA for ; Mon, 20 Jul 2015 20:12:18 +0000 (UTC) Received: (qmail 27026 invoked by uid 500); 20 Jul 2015 20:12:12 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 26882 invoked by uid 500); 20 Jul 2015 20:12:12 -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 26454 invoked by uid 99); 20 Jul 2015 20:12:12 -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; Mon, 20 Jul 2015 20:12:12 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D05C8E1785; Mon, 20 Jul 2015 20:12:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sunchao@apache.org To: commits@hive.apache.org Date: Mon, 20 Jul 2015 20:12:21 -0000 Message-Id: <1f85bcd512fa45c983575ccdd63450b9@git.apache.org> In-Reply-To: <4cba030f79c14a159bf781a633d27132@git.apache.org> References: <4cba030f79c14a159bf781a633d27132@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [11/50] [abbrv] hive git commit: HIVE-11232 : CBO: Calcite Operator To Hive Operator (Calcite Return Path): fix the output of select_same_col.q (Pengcheng Xiong via Ashutosh Chauhan) HIVE-11232 : CBO: Calcite Operator To Hive Operator (Calcite Return Path): fix the output of select_same_col.q (Pengcheng Xiong via Ashutosh Chauhan) Signed-off-by: Ashutosh Chauhan Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/17f759d6 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/17f759d6 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/17f759d6 Branch: refs/heads/spark Commit: 17f759d6332f4f9fb87e4679c01447cd27370420 Parents: 8121b9a Author: Pengcheng Xiong Authored: Mon Jul 20 02:51:00 2015 -0700 Committer: Ashutosh Chauhan Committed: Mon Jul 13 09:41:55 2015 -0700 ---------------------------------------------------------------------- ql/src/test/queries/clientpositive/select_same_col.q | 5 +++-- ql/src/test/results/clientpositive/select_same_col.q.out | 8 ++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/17f759d6/ql/src/test/queries/clientpositive/select_same_col.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientpositive/select_same_col.q b/ql/src/test/queries/clientpositive/select_same_col.q index d6902c2..21f0d45 100644 --- a/ql/src/test/queries/clientpositive/select_same_col.q +++ b/ql/src/test/queries/clientpositive/select_same_col.q @@ -1,6 +1,7 @@ - set hive.cbo.enable=true; +-- SORT_BEFORE_DIFF + drop table srclimit; create table srclimit as select * from src limit 10; @@ -16,4 +17,4 @@ select *, key, value from srclimit; select * from (select *, key, value from srclimit) t; -drop table srclimit; \ No newline at end of file +drop table srclimit; http://git-wip-us.apache.org/repos/asf/hive/blob/17f759d6/ql/src/test/results/clientpositive/select_same_col.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/select_same_col.q.out b/ql/src/test/results/clientpositive/select_same_col.q.out index 426f716..f7362f0 100644 --- a/ql/src/test/results/clientpositive/select_same_col.q.out +++ b/ql/src/test/results/clientpositive/select_same_col.q.out @@ -1,6 +1,10 @@ -PREHOOK: query: drop table srclimit +PREHOOK: query: -- SORT_BEFORE_DIFF + +drop table srclimit PREHOOK: type: DROPTABLE -POSTHOOK: query: drop table srclimit +POSTHOOK: query: -- SORT_BEFORE_DIFF + +drop table srclimit POSTHOOK: type: DROPTABLE PREHOOK: query: create table srclimit as select * from src limit 10 PREHOOK: type: CREATETABLE_AS_SELECT