[ 
https://issues.apache.org/jira/browse/FLINK-10978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16729248#comment-16729248
 ] 

sunjincheng commented on FLINK-10978:
-------------------------------------

Sounds good [~hequn8128] ! I think open the PR. after FLINK-10977 is merged is 
make sense. 

> Add FlatAggregate operator to batch Table API
> ---------------------------------------------
>
>                 Key: FLINK-10978
>                 URL: https://issues.apache.org/jira/browse/FLINK-10978
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>            Reporter: sunjincheng
>            Assignee: Hequn Cheng
>            Priority: Major
>             Fix For: 1.8.0
>
>
> Add FlatAggregate operator to batch Table API as described in [Google 
> doc|https://docs.google.com/document/d/1tnpxg31EQz2-MEzSotwFzqatsB4rNLz0I-l_vPa5H4Q/edit#heading=h.q23rny2iglsr]
>  .
> The usage:
> {code:java}
> val res = tab
>  .groupBy('a) // leave out groupBy-clause to define global table aggregates
>  .flatAgg(fun: TableAggregateFunction)  // output has columns 'a, 'b, 'c
>  .select('a, 'c) 
> {code}



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

Reply via email to