[ 
https://issues.apache.org/jira/browse/HIVE-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ganesha Shreedhara updated HIVE-12719:
--------------------------------------
    Release Note: 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.  (was: We will get invalid function error when permanent 
function is used along with window function because the permanent function is 
stored as db_name.function_name in the function registry where as 
built-in/temporary function gets stored without any prefix in the function 
registry. 
The fix is done such that the we will first form the qualified name for the 
permanent function and then compare if it exists in function registry. )

> 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
>         Attachments: HIVE-12719.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to