[ https://issues.apache.org/jira/browse/HIVE-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150271#comment-13150271 ]
jirapos...@reviews.apache.org commented on HIVE-2573: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2831/ ----------------------------------------------------------- (Updated 2011-11-15 07:06:04.002057) Review request for hive and Carl Steinbach. Changes ------- Changed to use KW_TEMPORARY instead of 'SESSION'. Some security checks would be needed for 'CREATE FUNCTION' which would add function to main function registry. Summary ------- Extension from HIVE-2503 for function registry. This addresses bug HIVE-2573. https://issues.apache.org/jira/browse/HIVE-2573 Diffs (updated) ----- ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g 4d4fce2 ql/src/java/org/apache/hadoop/hive/ql/plan/CreateFunctionDesc.java 051095a ql/src/java/org/apache/hadoop/hive/ql/plan/DropFunctionDesc.java 8a78f5b ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java 07a4832 ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java 35d124b ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java 197bc77 ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java 70b6f57 ql/src/java/org/apache/hadoop/hive/ql/parse/FunctionSemanticAnalyzer.java f2b7018 Diff: https://reviews.apache.org/r/2831/diff Testing ------- Thanks, Navis > 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 > Priority: Minor > Attachments: HIVE-2573.1.patch.txt, HIVE-2573.2.patch.txt, > HIVE-2573.3.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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira