You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2020/05/11 15:46:00 UTC

[jira] [Closed] (FLINK-17523) Add call expression with a class of UDF

     [ https://issues.apache.org/jira/browse/FLINK-17523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Wysakowicz closed FLINK-17523.
------------------------------------
    Resolution: Fixed

Implemented in 3561adf03deb88bff540773b5a2037c8576c09f8

> Add call expression with a class of UDF 
> ----------------------------------------
>
>                 Key: FLINK-17523
>                 URL: https://issues.apache.org/jira/browse/FLINK-17523
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>
> We should introduce a method that takes a class of UDF instead of an instance similar to:
> {code}
> TableEnvironment#createTemporarySystemFunction(String name, Class<? extends UserDefinedFunction> functionClass);
> {code}
> The API should look like:
> {code}
> public static ApiExpression Expressions:call(Class<? extends UserDefinedFunction> function, Object... arguments)
> {code}
> *Important:* Update the javadocs in {{*Table}} as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)