You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "TANG Wen-hui (JIRA)" <ji...@apache.org> on 2019/06/25 13:31:00 UTC

[jira] [Created] (CALCITE-3146) Support the detection of nested aggregations fo JdbcAggregate in SqlImplementor.

TANG Wen-hui created CALCITE-3146:
-------------------------------------

             Summary: Support the detection of nested aggregations fo JdbcAggregate in SqlImplementor.
                 Key: CALCITE-3146
                 URL: https://issues.apache.org/jira/browse/CALCITE-3146
             Project: Calcite
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.19.0
            Reporter: TANG Wen-hui
            Assignee: TANG Wen-hui


The detection of nested aggregations in SqlImplementor.java is only for 

LogicalAggregate:

 
{code:java}
if (rel instanceof LogicalAggregate
    && !dialect.supportsNestedAggregations()
    && hasNestedAggregations((LogicalAggregate) rel)) {
  needNew = true;
}
{code}
It should also support other sub-class of Aggregate such as JdbcAggregate .

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)