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 BB4A29CEE for ; Thu, 31 May 2012 04:40:29 +0000 (UTC) Received: (qmail 66834 invoked by uid 500); 31 May 2012 04:40:29 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 66785 invoked by uid 500); 31 May 2012 04:40:29 -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 66595 invoked by uid 500); 31 May 2012 04:40:27 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 66572 invoked by uid 99); 31 May 2012 04:40:27 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 04:40:27 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id AB84E142857 for ; Thu, 31 May 2012 04:40:26 +0000 (UTC) Date: Thu, 31 May 2012 04:40:26 +0000 (UTC) From: "Hien Luu (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <1822045883.20257.1338439226704.JavaMail.jiratomcat@issues-vm> In-Reply-To: <759781218.15810.1310692081021.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (PIG-2166) UDFs to join a bag 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-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286311#comment-13286311 ] Hien Luu commented on PIG-2166: ------------------------------- I ran in a problem when trying to generate test data using the command "ant -Dharness.old.pig=old_pig -Dharness.cluster.conf=hadoop_conf_dir -Dharness.cluster.bin=hadoop_script test-e2e-deploy" on https://cwiki.apache.org/confluence/display/PIG/HowToTest page. Can't locate IPC/Run.pm in @INC (@INC contains: . . . ./libexec . . ./libexec /Library/Perl/Updates/5.10.0 /System/Library/Perl/ Then I tried to install IPC::Run perl module and ran into another error. On cpan.org, there is paragraph: "OSX comes with Perl pre-installed, in order to build and install your own modules you will need to install the 'developer' package which can be found on your OSX install DVD (you only need the 'unix tools'). Once you have done this you can use all of the tools mentioned above." Do you know the 'developer' package it is talking about? BTW, I am on Mac OSX. Thanks, Hien > UDFs to join a bag > ------------------ > > Key: PIG-2166 > URL: https://issues.apache.org/jira/browse/PIG-2166 > Project: Pig > Issue Type: Improvement > Reporter: Daniel Dai > Assignee: Hien Luu > Priority: Minor > Labels: newbie, simple > Attachments: bagtotuplestring.diff > > > Get several request for a UDF to flatten a bag. Seems reasonable to create one in builtin: > 1. BagToTuple: {(a),(b),(c)} -> (a,b,c) > 2. BagToString(delimit="_"): {(a),(b),(c) -> "a_b_c" -- 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