You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "godfrey he (JIRA)" <ji...@apache.org> on 2019/05/24 05:50:00 UTC

[jira] [Updated] (FLINK-12610) Introduce planner rules about aggregate

     [ https://issues.apache.org/jira/browse/FLINK-12610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

godfrey he updated FLINK-12610:
-------------------------------
    Description: 
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 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

  was:
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


> 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
>            Priority: Major
>
> 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 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)