godfrey he created FLINK-12610:
----------------------------------
Summary: Introduce planner rules about aggregate
Key: FLINK-12610
URL: https://issues.apache.org/jira/browse/FLINK-12610
Project: Flink
Issue Type: New Feature
Components: Table SQL / Planner
Reporter: godfrey he
Assignee: godfrey he
This issue aims to introduce planner rules about aggregate, rules include:
1. {{AggregateCalcMergeRule}}, that recognizes {{Aggregate}} on top of a
{{Calc}} and if possible aggregate through the calc or removes the calc
2. {{AggregateReduceGroupingRule}}, that reduces unless grouping columns
3. {{PruneAggregateCallRule}}, that that removes unreferenced AggregateCall
from Aggregate
4. {{FlinkAggregateRemoveRule}}, that is copied from Calcite's
AggregateRemoveRule, and supports SUM, MIN, MAX, AUXILIARY_GROUP aggregate
functions in non-empty group aggregate
5. {{FlinkAggregateJoinTransposeRule}}, that is copied from Calcite's
AggregateJoinTransposeRule, and supports Left/Right outer join and aggregate
with AUXILIARY_GROUP
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)