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 2020/04/16 10:43:00 UTC
[jira] [Reopened] (FLINK-13471) Add FlatAggregate support to stream
Table API(blink planner)
[ https://issues.apache.org/jira/browse/FLINK-13471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sunjincheng reopened FLINK-13471:
---------------------------------
> Add FlatAggregate support to stream Table API(blink planner)
> ------------------------------------------------------------
>
> Key: FLINK-13471
> URL: https://issues.apache.org/jira/browse/FLINK-13471
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Affects Versions: 1.10.0
> Reporter: sunjincheng
> Assignee: sunjincheng
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Add FlatAggregate support to stream Table API(blink planner), i.e, align with flink planner.
> The API looks like:
> {code:java}
> TableAggregateFunction tableAggFunc = new MyTableAggregateFunction();
> tableEnv.registerFunction("tableAggFunc", tableAggFunc);
> tab.groupBy("key")
> .flatAggregate("tableAggFunc(a, b) as (x, y, z)")
> .select("key, x, y, z")
> {code}
> The detail can be found in [Flip-29|https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=97552739]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)