Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 56E2F200AE4 for ; Fri, 10 Jun 2016 01:30:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 55846160A58; Thu, 9 Jun 2016 23:30:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C61D1160A59 for ; Fri, 10 Jun 2016 01:30:22 +0200 (CEST) Received: (qmail 80314 invoked by uid 500); 9 Jun 2016 23:30:21 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 80289 invoked by uid 99); 9 Jun 2016 23:30:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 23:30:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4A8B22C1F60 for ; Thu, 9 Jun 2016 23:30:21 +0000 (UTC) Date: Thu, 9 Jun 2016 23:30:21 +0000 (UTC) From: "Aman Sinha (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2330) Add support for nested aggregate expressions for window aggregates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Jun 2016 23:30:23 -0000 [ https://issues.apache.org/jira/browse/DRILL-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aman Sinha updated DRILL-2330: ------------------------------ Assignee: Gautam Kumar Parai > Add support for nested aggregate expressions for window aggregates > ------------------------------------------------------------------ > > Key: DRILL-2330 > URL: https://issues.apache.org/jira/browse/DRILL-2330 > Project: Apache Drill > Issue Type: Improvement > Components: Query Planning & Optimization > Affects Versions: 0.8.0 > Reporter: Abhishek Girish > Assignee: Gautam Kumar Parai > Fix For: Future > > Attachments: drillbit.log > > > Aggregate expressions currently cannot be nested. > *The following query fails to validate:* > {code:sql} > select avg(sum(i_item_sk)) from item; > {code} > Error: > Query failed: SqlValidatorException: Aggregate expressions cannot be nested > Log attached. > Reference: TPCDS queries (20, 63, 98, ...) fail to execute. -- This message was sent by Atlassian JIRA (v6.3.4#6332)