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 96BA018D67 for ; Mon, 13 Jul 2015 16:59:46 +0000 (UTC) Received: (qmail 63216 invoked by uid 500); 13 Jul 2015 16:42:16 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 63193 invoked by uid 500); 13 Jul 2015 16:42:16 -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 63182 invoked by uid 99); 13 Jul 2015 16:42:16 -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, 13 Jul 2015 16:42:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 608E3E0523; Mon, 13 Jul 2015 16:42:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hashutosh@apache.org To: commits@hive.apache.org Message-Id: <2d52e1bd90dc4e628f83001738985987@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: 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) Date: Mon, 13 Jul 2015 16:42:15 +0000 (UTC) Repository: hive Updated Branches: refs/heads/master 8121b9ab6 -> 17f759d63 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/master 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