Ashutosh Chauhan created CALCITE-725:
----------------------------------------

             Summary: Make AggregateExpandDistinctAggregatesRule usable outside 
of Calcite
                 Key: CALCITE-725
                 URL: https://issues.apache.org/jira/browse/CALCITE-725
             Project: Calcite
          Issue Type: Bug
            Reporter: Ashutosh Chauhan
            Assignee: Julian Hyde


* Currently it does a match on {{LogicalAggregate}}. Instead it should do a 
match on {{Aggregate}}
* It does two different optimizations. It should be possible for caller to opt 
in which one it wants.
* During optimization it generates new rel nodes, it should use RelFactories 
for it.
* It should be possible for caller to make further checks on arg list of 
qualified agg calls, in case it doesnt want optimization to go through. 



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

Reply via email to