hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-309) FunctionRegistry should allow loading UDFs and UDAFs from property file
Date Wed, 01 Apr 2009 19:16:12 GMT

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

Namit Jain commented on HIVE-309:
---------------------------------

Had a discussion with Ashish and Raghu about this.

Since, we already have 'create temporary function', the above approach may not give us anything
new. It would be better to go with the
metastore approach. That means that the jar file needs to be copied to a well-known location
in the server. Function metadata
needs to contain the location of the jar.

> FunctionRegistry should allow loading UDFs and UDAFs from property file
> -----------------------------------------------------------------------
>
>                 Key: HIVE-309
>                 URL: https://issues.apache.org/jira/browse/HIVE-309
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Richard Lee
>            Assignee: Richard Lee
>         Attachments: hive-external-functions-2.diff, hive-external-functions.diff, hive-external-functions2.diff,
hive-external-functions3.diff, hive-external-functions4.diff, hive-external-functions5.diff
>
>
> FunctionRegistry.java hard code all UDF, UDAF definitions in a static initializer.  There
is no way to add new functions without directly modifying this file.  
> FunctionRegistry SHOULD look for a property file in which new functions and their implementations
can be specified.  This will allow third parties to extend hive without maintaining patches
against the codebase. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message