[ https://issues.apache.org/jira/browse/CALCITE-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15279045#comment-15279045 ]
Gautam Kumar Parai commented on CALCITE-750: -------------------------------------------- I talked to [~amansinha100] offline and he asked me to work on this bug. Can you please add my userid (gparai) to Calcite so that I can work on it? Thanks, Gautam > Window aggregate on top of a regular aggregate expression fails > --------------------------------------------------------------- > > Key: CALCITE-750 > URL: https://issues.apache.org/jira/browse/CALCITE-750 > Project: Calcite > Issue Type: Bug > Affects Versions: 1.3.0-incubating > Reporter: Aman Sinha > Assignee: Aman Sinha > > Window aggregate on top of a regular aggregate expression is a valid query > but currently fails with a 'aggregate expression cannot be nested' error. > {code} > SELECT avg(sum(sal)) over (partition by deptno) from emp group by deptno; > SEVERE: org.apache.calcite.sql.validate.SqlValidatorException: Aggregate > expressions cannot be nested > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)