[ 
https://issues.apache.org/jira/browse/DRILL-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413801#comment-15413801
 ] 

Dechang Gu commented on DRILL-2330:
-----------------------------------

The Queries are added to the Drill Perf Test Framework, and test on 1.8.0 
master shows the following results:
Env:  UCS micro cluster MapR 5.1.0.37549.GA, TPCDS SF100 parquet files, Apache 
Drill 1.8.0 Master (gitid aaf220f)
                                               Query time (ms)          
tpcds query                       Run 1 Run 2   Run 3
12                                          DRILL-4525 Validataion Error        
        
20                                          DRILL-4525 Validataion Error        
        
47                                      65,515  27,391  26,247
51                                          DRILL-4811 IllegalArgument          
53                                      7,722   4,310   3,518
57                                     22,968   15,956  15,578
63                                     7,292    4,012   3,526
89                                     5,592    3,777   3,585
98                                        DRILL-4525 Validataion Error          

> 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: 1.8.0
>
>         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)

Reply via email to