Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF90719C5E for ; Sat, 16 Apr 2016 08:12:25 +0000 (UTC) Received: (qmail 35107 invoked by uid 500); 16 Apr 2016 08:12:25 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 35087 invoked by uid 500); 16 Apr 2016 08:12:25 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 35051 invoked by uid 99); 16 Apr 2016 08:12:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2016 08:12:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8A3E92C14F7 for ; Sat, 16 Apr 2016 08:12:25 +0000 (UTC) Date: Sat, 16 Apr 2016 08:12:25 +0000 (UTC) From: "Lefty Leverenz (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13475) Allow aggregate functions in over 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-13475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lefty Leverenz updated HIVE-13475: ---------------------------------- Labels: TODOC2.1 (was: ) > Allow aggregate functions in over clause > ---------------------------------------- > > Key: HIVE-13475 > URL: https://issues.apache.org/jira/browse/HIVE-13475 > Project: Hive > Issue Type: New Feature > Components: Parser > Affects Versions: 2.1.0 > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Labels: TODOC2.1 > Fix For: 2.1.0 > > Attachments: HIVE-13475.patch > > > Support to reference aggregate functions within the over clause needs to be added. For instance, currently the following query will fail: > {noformat} > select rank() over (order by sum(ws.c_int)) as return_rank > from cbo_t3 ws > group by ws.key; > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)