You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/03/09 07:24:47 UTC

[jira] [Commented] (HIVE-6167) Allow user-defined functions to be qualified with database name

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

Lefty Leverenz commented on HIVE-6167:
--------------------------------------

[~jdere] documented this in the wiki's DDL doc, so I added a brief description in the Hive Plugins doc and linked it to the DDL.

* [DDL:  Permanent Functions |https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-PermanentFunctions]
* [Hive Plugins |https://cwiki.apache.org/confluence/display/Hive/HivePlugins]

But the jira description currently has things backwards:  "This task would allow users to define temporary UDFs (and eventually permanent UDFs) with a database name" -- it's permanent UDFs that can be defined with a database name, not temporary UDFs.

> Allow user-defined functions to be qualified with database name
> ---------------------------------------------------------------
>
>                 Key: HIVE-6167
>                 URL: https://issues.apache.org/jira/browse/HIVE-6167
>             Project: Hive
>          Issue Type: Sub-task
>          Components: UDF
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6167.1.patch, HIVE-6167.2.patch, HIVE-6167.3.patch, HIVE-6167.4.patch
>
>
> Function names in Hive are currently unqualified and there is a single namespace for all function names. This task would allow users to define temporary UDFs (and eventually permanent UDFs) with a database name, such as:
> CREATE TEMPORARY FUNCTION userdb.myfunc 'myudfclass';



--
This message was sent by Atlassian JIRA
(v6.2#6252)