[ 
https://issues.apache.org/jira/browse/HIVE-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16235655#comment-16235655
 ] 

Ganesha Shreedhara edited comment on HIVE-12719 at 11/2/17 12:42 PM:
---------------------------------------------------------------------

Currently window function name 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. I have 
corrected the way we form window function name to 
WINDOW_FUNC_PREFIX+dbName+.+functionName so that it matches with the name in 
function registry.
Please review the changes.


was (Author: ganeshas):
Currently window function name 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. I have 
corrected the way we form window function name to 
WINDOW_FUNC_PREFIX+dbName+.+functionName so that it matches with the name 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
>            Priority: Major
>         Attachments: HIVE-12719.patch
>
>




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

Reply via email to