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 D869C17B18 for ; Mon, 20 Oct 2014 09:14:34 +0000 (UTC) Received: (qmail 22760 invoked by uid 500); 20 Oct 2014 09:14:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 22692 invoked by uid 500); 20 Oct 2014 09:14:34 -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 22681 invoked by uid 500); 20 Oct 2014 09:14:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 22678 invoked by uid 99); 20 Oct 2014 09:14:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2014 09:14:34 +0000 Date: Mon, 20 Oct 2014 09:14:34 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7981) alias of compound aggregation functions fails in having clause 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-7981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Navis updated HIVE-7981: ------------------------ Attachment: HIVE-7981.3.patch.txt Rebased to trunk > alias of compound aggregation functions fails in having clause > -------------------------------------------------------------- > > Key: HIVE-7981 > URL: https://issues.apache.org/jira/browse/HIVE-7981 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: eyal gruss > Assignee: Navis > Priority: Minor > Attachments: HIVE-7981.1.patch.txt, HIVE-7981.2.patch.txt, HIVE-7981.3.patch.txt > > > hive> select max(time)-min(time) as span from mytable group by name having span>0; > FAILED: SemanticException [Error 10025]: Line 1:92 Expression not in GROUP BY key '0' -- This message was sent by Atlassian JIRA (v6.3.4#6332)