Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 78734 invoked from network); 27 Feb 2009 19:11:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2009 19:11:37 -0000 Received: (qmail 89299 invoked by uid 500); 27 Feb 2009 19:11:37 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 89273 invoked by uid 500); 27 Feb 2009 19:11:36 -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 89261 invoked by uid 99); 27 Feb 2009 19:11:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 11:11:36 -0800 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; Fri, 27 Feb 2009 19:11:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E34F9234C4A9 for ; Fri, 27 Feb 2009 11:11:15 -0800 (PST) Message-ID: <1744872926.1235761875930.JavaMail.jira@brutus> Date: Fri, 27 Feb 2009 11:11:15 -0800 (PST) From: "Richard Lee (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (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-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Lee updated HIVE-309: ----------------------------- Attachment: hive-external-functions-2.diff here's a diff off the same revision of trunk as my last one... This implements the function definition syntax that I described in my previous comment. > 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.