You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2016/06/09 23:38:20 UTC
[jira] [Commented] (DRILL-2330) Add support for nested aggregate
expressions for window aggregates
[ https://issues.apache.org/jira/browse/DRILL-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323602#comment-15323602 ]
Aman Sinha commented on DRILL-2330:
-----------------------------------
Assigning to [~gparai] who added support for it in CALCITE-750. As part of this we should test the following TPC-DS queries which have nested aggregates within window aggregates: 12, 20, 47, 51, 53, 57, 63, 89, 98
> 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)