[
https://issues.apache.org/jira/browse/FLINK-20638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251094#comment-17251094
]
Jark Wu commented on FLINK-20638:
---------------------------------
Hi [~HideOnBush], AFAIK, you can't use them both at the same time if name
conflicts.
Youc an reorder the priority of core module and hive module by using [loading
and unloading modules
API|https://ci.apache.org/projects/flink/flink-docs-master/dev/table/modules.html#loading-and-unloading-a-module],
this can makes Flink load Hive module functions first.
As an alternative, you can also use user defined function as [~zoucao] said.
> Flink hive modules Function with the same name bug
> --------------------------------------------------
>
> Key: FLINK-20638
> URL: https://issues.apache.org/jira/browse/FLINK-20638
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.12.0
> Reporter: HideOnBush
> Priority: Major
> Attachments: image-2020-12-17-14-32-41-719.png
>
>
> I want to use flink to use hive functions, after introducing hive modules,
> there are functions of the same name, Flink has a higher priority than Hive,
> the same function name, such as timestamp function, how do I distinguish
> between hive and Flink when using it?
> As shown below:
> !image-2020-12-17-14-32-41-719.png!
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)