You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2019/05/16 06:12:01 UTC
[jira] [Commented] (FLINK-11970) TableEnvironment#registerFunction
should overwrite if the same name function existed.
[ https://issues.apache.org/jira/browse/FLINK-11970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841013#comment-16841013 ]
Jeff Zhang commented on FLINK-11970:
------------------------------------
[~yanghua] Any update on this ticket ?
> TableEnvironment#registerFunction should overwrite if the same name function existed.
> --------------------------------------------------------------------------------------
>
> Key: FLINK-11970
> URL: https://issues.apache.org/jira/browse/FLINK-11970
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / API
> Reporter: Jeff Zhang
> Assignee: vinoyang
> Priority: Major
>
> Currently, it would throw exception if I try to register user function multiple times. Registering udf multiple times is very common usage in notebook scenario. And I don't think it would cause issues for users.
> e.g. If user happened to register the same udf multiple times (he intend to register 2 different udf actually), then he would get exception at runtime where he use the udf that is missing registration.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)