Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-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 65F6FD5EC for ; Tue, 25 Sep 2012 01:11:08 +0000 (UTC) Received: (qmail 33761 invoked by uid 500); 25 Sep 2012 01:11:08 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 33587 invoked by uid 500); 25 Sep 2012 01:11:08 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 33575 invoked by uid 500); 25 Sep 2012 01:11:07 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 33572 invoked by uid 99); 25 Sep 2012 01:11:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 01:11:07 +0000 Date: Tue, 25 Sep 2012 12:11:07 +1100 (NCT) From: "Cheolsoo Park (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <232049080.119934.1348535467957.JavaMail.jiratomcat@arcas> In-Reply-To: <2139796605.33485.1346780227609.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (PIG-2904) Scripting UDFs should allow DEFINE statements to pass parameters to the UDF's constructor 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/PIG-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cheolsoo Park updated PIG-2904: ------------------------------- Attachment: PIG-2904.patch Attaching a patch that added this feature for Python UDFs. Review board: https://reviews.apache.org/r/7217/ I'd like to know whether this is a good approach or not. If this is OK with everyone, I will go ahead add the same support for other supported scripting languages. Thanks! > Scripting UDFs should allow DEFINE statements to pass parameters to the UDF's constructor > ----------------------------------------------------------------------------------------- > > Key: PIG-2904 > URL: https://issues.apache.org/jira/browse/PIG-2904 > Project: Pig > Issue Type: New Feature > Reporter: Julien Le Dem > Assignee: Cheolsoo Park > Attachments: PIG-2904.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira