You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/06/05 00:10:38 UTC

[jira] [Created] (CALCITE-751) Push aggregate with aggregate functions through join

Julian Hyde created CALCITE-751:
-----------------------------------

             Summary: Push aggregate with aggregate functions through join
                 Key: CALCITE-751
                 URL: https://issues.apache.org/jira/browse/CALCITE-751
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


AggregateJoinTransposeRule currently only fires if the Aggregate has no aggregate functions. We need to lift that limitation.

Aggregate functions should be split, e.g. COUNT becomes SUM of COUNT. Some aggregate functions cannot be split, e.g. distinct-count.

Add a new interface to SqlAggFunction to allow it to declare the split policy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)