[
https://issues.apache.org/jira/browse/FLINK-27603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552530#comment-17552530
]
tartarus commented on FLINK-27603:
----------------------------------
Thanks for your work!
I think the reload function is the habit of many users in hive,
Flink can already achieve the effect of reload function by default, so we can
not throw exception to avoid causing trouble to users.
> Hive dialect supports "reload function"
> ---------------------------------------
>
> Key: FLINK-27603
> URL: https://issues.apache.org/jira/browse/FLINK-27603
> Project: Flink
> Issue Type: Sub-task
> Components: Connectors / Hive
> Reporter: luoyuxia
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.0
>
>
> In Hive, by "reload function", the user can use the function defined in other
> session.
> But in flink, it will always get the function from the catalog, and if it's
> hive catalog, it'll load all the user defined functions from the metastore.
> So, there's no need to "reload function" explicitly for it actually is done
> implicitly.
> But when use Hive dialect in Flink, it'll throw an unsupported exception for
> the statement "reload function".
> I'm wondering keep the current behavior to throw excpetion or consider it as
> an 'NopOperation'.
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)