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)

Reply via email to