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

Bowen Li commented on FLINK-7151:
---------------------------------

Hi [~suez1224] , are you still interested in moving this forward?

BTW, shall we differentiate DDL for function and DDL for temp function? I think 
they probably should be two JIRAs

> Add a function SQL DDL
> ----------------------
>
>                 Key: FLINK-7151
>                 URL: https://issues.apache.org/jira/browse/FLINK-7151
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API
>            Reporter: yuemeng
>            Assignee: Shuyi Chen
>            Priority: Major
>
> Based on create temporary function and table.we can register a udf,udaf,udtf 
> use sql:
> {code}
> CREATE TEMPORARY function 'TOPK' AS 
> 'com.xxxx.aggregate.udaf.distinctUdaf.topk.ITopKUDAF';
> INSERT INTO db_sink SELECT id, TOPK(price, 5, 'DESC') FROM kafka_source GROUP 
> BY id;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to