hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesha Shreedhara (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-12719) As a hive user, I am facing issues using permanent UDAF's.
Date Thu, 02 Nov 2017 12:40:00 GMT

    [ 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:39 PM:
---------------------------------------------------------------------

Currently window function name is getting formed as dbName+ "."+WINDOW_FUNC_PREFIX+functionName
where as function registry as 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.


was (Author: ganeshas):
Currently window function name is getting formed as dbName+ "." +WINDOW_FUNC_PREFIX+functionName
where as function registry as 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)

Mime
View raw message