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

Timo Walther commented on FLINK-18201:
--------------------------------------

We don't allow {{void createFunction(String path, UserDefinedFunction 
userDefinedFunction)}}. Instances should only be registered as temporary 
functions. We advocate classes for catalogs instead {{void 
createFunction(String path, Class<UserDefinedFunction> userDefinedFunction)}} 
because classes are easier to persistent than instances. 

> Support create_function in Python Table API
> -------------------------------------------
>
>                 Key: FLINK-18201
>                 URL: https://issues.apache.org/jira/browse/FLINK-18201
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Python
>            Reporter: Dian Fu
>            Assignee: Nicholas Jiang
>            Priority: Major
>             Fix For: 1.12.0
>
>
> There is an interface *createFunction* in the Java *TableEnvironment*. It's 
> used to register a Java UserDefinedFunction class as a catalog function. We 
> should align the Python Table API with Java and add such an interface in the 
> Python *TableEnvironment*.



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

Reply via email to