[
https://issues.apache.org/jira/browse/HIVE-14819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514230#comment-15514230
]
Jason Dere commented on HIVE-14819:
-----------------------------------
Patch to allow the registry to set PERSISTENT type when registering permanent
functions to the session registry. Previously all functions added to session
registry had the TEMPORARY tag.
> FunctionInfo for permanent functions shows TEMPORARY FunctionType
> -----------------------------------------------------------------
>
> Key: HIVE-14819
> URL: https://issues.apache.org/jira/browse/HIVE-14819
> Project: Hive
> Issue Type: Bug
> Components: UDF
> Affects Versions: 2.1.0
> Reporter: Jason Dere
> Assignee: Jason Dere
> Attachments: HIVE-14819.1.patch
>
>
> The FunctionInfo has a FunctionType field which describes if the function is
> a builtin/persistent/temporary function. But for permanent functions, the
> FunctionInfo being returned by the FunctionRegistry is showing the type to be
> TEMPORARY.
> This affects things which may be depending on function type, for example
> LlapDecider, which will allow builtin/persistent UDFs to be used in LLAP but
> not temporary functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)