[
https://issues.apache.org/jira/browse/HIVE-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ganesha Shreedhara updated HIVE-12719:
--------------------------------------
Description: Currently function name for the permanent function is getting
formed as dbName.WINDOW_FUNC_PREFIX+functionName where as function registry has
function name as WINDOW_FUNC_PREFIX+dbName.functionName. This is leading to
invalid function error when we use permanent function with window function. Fix
has been done such that we form the permanent function name rightly as
WINDOW_FUNC_PREFIX+dbName+.+functionName so that it matches with the name in
function registry. The functionality for built-in/temporary function would
remain the same.
> As a hive user, I am facing issues using permanent UDAF's.
> ----------------------------------------------------------
>
> Key: HIVE-12719
> URL: https://issues.apache.org/jira/browse/HIVE-12719
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 1.2.1
> Reporter: Surbhit
> Assignee: Ganesha Shreedhara
> Priority: Major
> Attachments: HIVE-12719.patch
>
>
> Currently function name for the permanent function is getting formed as
> dbName.WINDOW_FUNC_PREFIX+functionName where as function registry has
> function name as WINDOW_FUNC_PREFIX+dbName.functionName. This is leading to
> invalid function error when we use permanent function with window function.
> Fix has been done such that we form the permanent function name rightly as
> WINDOW_FUNC_PREFIX+dbName+.+functionName so that it matches with the name in
> function registry. The functionality for built-in/temporary function would
> remain the same.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)