Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3669BE7DA for ; Sun, 20 Jan 2013 23:58:15 +0000 (UTC) Received: (qmail 696 invoked by uid 500); 20 Jan 2013 23:58:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 631 invoked by uid 500); 20 Jan 2013 23:58:14 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 573 invoked by uid 500); 20 Jan 2013 23:58:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 541 invoked by uid 99); 20 Jan 2013 23:58:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jan 2013 23:58:13 +0000 Date: Sun, 20 Jan 2013 23:58:13 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-3849) Aliased column in where clause for multi-groupby single reducer cannot be resolved MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phabricator updated HIVE-3849: ------------------------------ Attachment: HIVE-3849.D7713.5.patch navis updated the revision "HIVE-3849 [jira] Columns are not extracted for multi-groupby single reducer case somtimes". Reviewers: JIRA Fixed test result which is affected by HIVE-3699 REVISION DETAIL https://reviews.facebook.net/D7713 AFFECTED FILES ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java ql/src/test/queries/clientpositive/groupby_multi_insert_common_distinct.q ql/src/test/queries/clientpositive/groupby_mutli_insert_common_distinct.q ql/src/test/queries/clientpositive/groupby_multi_single_reducer3.q ql/src/test/results/clientpositive/groupby_multi_insert_common_distinct.q.out ql/src/test/results/clientpositive/groupby_mutli_insert_common_distinct.q.out ql/src/test/results/clientpositive/groupby_multi_single_reducer3.q.out To: JIRA, navis Cc: njain > Aliased column in where clause for multi-groupby single reducer cannot be resolved > ---------------------------------------------------------------------------------- > > Key: HIVE-3849 > URL: https://issues.apache.org/jira/browse/HIVE-3849 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-3849.D7713.1.patch, HIVE-3849.D7713.2.patch, HIVE-3849.D7713.3.patch, HIVE-3849.D7713.4.patch, HIVE-3849.D7713.5.patch > > > Verifying HIVE-3847, I've found an exception is thrown before meeting the error situation described in it. Something like, > FAILED: SemanticException [Error 10025]: Line 40:6 Expression not in GROUP BY key 'crit5' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira