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/09/23 04:17:00 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=16935540#comment-16935540 ]
Jeff Zhang commented on FLINK-11970:
------------------------------------
ping [~tiwalter]
> 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
(v8.3.4#803005)