hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesha Shreedhara (JIRA)" <>
Subject [jira] [Updated] (HIVE-12719) As a hive user, I am facing issues using permanent UDAF's.
Date Tue, 12 Dec 2017 05:29:00 GMT


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:
>             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

View raw message