Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 67227 invoked from network); 12 Mar 2009 01:38:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2009 01:38:15 -0000 Received: (qmail 94586 invoked by uid 500); 12 Mar 2009 01:38:15 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 94570 invoked by uid 500); 12 Mar 2009 01:38:15 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 94559 invoked by uid 99); 12 Mar 2009 01:38:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 18:38:15 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 01:38:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 732D9234C003 for ; Wed, 11 Mar 2009 18:37:50 -0700 (PDT) Message-ID: <1360508981.1236821870457.JavaMail.jira@brutus> Date: Wed, 11 Mar 2009 18:37:50 -0700 (PDT) From: "Ashish Thusoo (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-309) FunctionRegistry should allow loading UDFs and UDAFs from property file In-Reply-To: <832509378.1235696161904.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681136#action_12681136 ] Ashish Thusoo commented on HIVE-309: ------------------------------------ sorry to chime in a bit late on this but I was out on vaccation. I think a better place to store this is the metastore as I think the issue here is to allow third parties to write their own udfs which are persistent. We do have the ability to create temporary UDF mappings. I am right in my understanding?? > 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 > Attachments: hive-external-functions-2.diff, hive-external-functions.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.