Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 7148 invoked from network); 21 Dec 2010 03:26:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Dec 2010 03:26:26 -0000 Received: (qmail 49328 invoked by uid 500); 21 Dec 2010 03:26:26 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 49182 invoked by uid 500); 21 Dec 2010 03:26:26 -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 49174 invoked by uid 500); 21 Dec 2010 03:26:26 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 49171 invoked by uid 99); 21 Dec 2010 03:26:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 03:26:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 03:26:24 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBL3Q2rR009083 for ; Tue, 21 Dec 2010 03:26:03 GMT Message-ID: <11509814.228561292901962897.JavaMail.jira@thor> Date: Mon, 20 Dec 2010 22:26:02 -0500 (EST) From: "Vaibhav Aggarwal (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1790) Patch to support HAVING clause in Hive In-Reply-To: <8324623.56361289611938663.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973463#action_12973463 ] Vaibhav Aggarwal commented on HIVE-1790: ---------------------------------------- Please note that I have not created a common method for genFilterPlan and genHavingPlan. The genHavingPlan needs to populate the input row resolver with additional information related to column aliases. It is not happening in genFilterPlan. I don't think that there is lot of common code between the two methods. In this case I would prefer separate methods over if statements in code. It keeps the control flow much cleaner. > Patch to support HAVING clause in Hive > -------------------------------------- > > Key: HIVE-1790 > URL: https://issues.apache.org/jira/browse/HIVE-1790 > Project: Hive > Issue Type: New Feature > Components: Query Processor > Reporter: Vaibhav Aggarwal > Assignee: Vaibhav Aggarwal > Fix For: 0.7.0 > > Attachments: HIVE-1790-1.patch, HIVE-1790.2.patch.txt, HIVE-1790.3.patch.txt, HIVE-1790.4.patch.txt, HIVE-1790.patch > > > Currently Hive users have to do nested queries in order to apply filter on group by expressions. > This patch allows users to directly apply filter on group by expressions by using HAVING clause. > This patch also helps us integrate Hive with other data analysis tools which rely on HAVING expression. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.