Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD7C39FB3 for ; Tue, 22 Nov 2011 19:39:01 +0000 (UTC) Received: (qmail 17783 invoked by uid 500); 22 Nov 2011 19:39:01 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 17719 invoked by uid 500); 22 Nov 2011 19:39:01 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 17711 invoked by uid 500); 22 Nov 2011 19:39:01 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 17708 invoked by uid 99); 22 Nov 2011 19:39:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 19:39:01 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 19:39:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8A67597815 for ; Tue, 22 Nov 2011 19:38:40 +0000 (UTC) Date: Tue, 22 Nov 2011 19:38:40 +0000 (UTC) From: "Phabricator (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1633708982.3584.1321990720568.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <100814194.12334.1320792592820.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2561) Allow UDFs to specify additional FILE/JAR resources necessary for execution MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155366#comment-13155366 ] Phabricator commented on HIVE-2561: ----------------------------------- jsichi has commented on the revision "HIVE-2561 [jira] Add an annotation to UDFs to allow them to specify additional FILE/JAR resources necessary for execution". Running tests, I got a failure in show_functions.q because it shows up in more than one result; there's one that tests regex with SHOW FUNCTIONS '.*e$'. So you can just give me an updated diff which fixes that and adds the non-generic support. REVISION DETAIL https://reviews.facebook.net/D507 > Allow UDFs to specify additional FILE/JAR resources necessary for execution > --------------------------------------------------------------------------- > > Key: HIVE-2561 > URL: https://issues.apache.org/jira/browse/HIVE-2561 > Project: Hive > Issue Type: New Feature > Reporter: Jonathan Chang > Assignee: Jonathan Chang > Attachments: HIVE-2561.D507.1.patch, HIVE-2561.D507.2.patch, HIVE-2561.D507.2.patch > > > Often times UDFs will have dependencies to external JARs/FILEs. It makes sense for these to be encoded by the UDF (rather than having the caller remember the set of files that need to be ADDed). Let's add an annotation to UDFs which will cause these resources to be auto-added. -- 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