You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sunjincheng (JIRA)" <ji...@apache.org> on 2018/11/22 02:52:00 UTC

[jira] [Created] (FLINK-10977) Add UnBounded FlatAggregate operator to streaming Table API

sunjincheng created FLINK-10977:
-----------------------------------

             Summary: Add UnBounded FlatAggregate operator to streaming Table API
                 Key: FLINK-10977
                 URL: https://issues.apache.org/jira/browse/FLINK-10977
             Project: Flink
          Issue Type: Sub-task
          Components: Table API &amp; SQL
            Reporter: sunjincheng
             Fix For: 1.8.0


Add FlatAggregate operator to streaming 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)