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

Navis commented on HIVE-2573:
-----------------------------

[~jdere] Good work. But one thing I want to change is that all functions in 
native registry should be native function and vise versa to clarify function 
types. I think we can define permanent function as a native function but acts 
as a temporary function when accessed, by registering itself to session 
registry. So it's,

system registry (native) : builtin-function + permanent function (contains 
definition only)
session register (non-native) : temporary function + permanent function

Review board is not accessible for a day long till now. So I've attached patch 
for showing the intention.

> Create per-session function registry 
> -------------------------------------
>
>                 Key: HIVE-2573
>                 URL: https://issues.apache.org/jira/browse/HIVE-2573
>             Project: Hive
>          Issue Type: Improvement
>          Components: Server Infrastructure
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2573.D3231.1.patch, 
> HIVE-2573.1.patch.txt, HIVE-2573.2.patch.txt, HIVE-2573.3.patch.txt, 
> HIVE-2573.4.patch.txt, HIVE-2573.5.patch, HIVE-2573.6.patch, 
> HIVE-2573.7.patch, HIVE-2573.8.patch.txt
>
>
> Currently the function registry is shared resource and could be overrided by 
> other users when using HiveServer. If per-session function registry is 
> provided, this situation could be prevented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to