godfrey he created FLINK-12098:
----------------------------------

             Summary: Add support for generating optimized logical plan for 
simple group aggregate on batch
                 Key: FLINK-12098
                 URL: https://issues.apache.org/jira/browse/FLINK-12098
             Project: Flink
          Issue Type: New Feature
          Components: Table SQL / Planner
            Reporter: godfrey he
            Assignee: godfrey he


This issue only involves simple stream group aggregate, complex group 
aggregate(including GROUP SETS and DISTINCT) will also be finished in new issue.

A logical aggregate will be converted to StreamExecGroupAggregate, and a 
StreamExecGroupAggregate will be written to two-stage aggregates 
(StreamExecLocalGroupAggregate and StreamExecGlobalGroupAggregate) if 
mini-batch is enabled and all aggregate functions are mergeable.

Retraction rules will also be ported, because multiple level aggregates will 
produce retraction message.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to