Return-Path: Delivered-To: apmail-hadoop-pig-dev-archive@www.apache.org Received: (qmail 63276 invoked from network); 18 May 2010 21:06:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 21:06:06 -0000 Received: (qmail 23553 invoked by uid 500); 18 May 2010 21:06:06 -0000 Delivered-To: apmail-hadoop-pig-dev-archive@hadoop.apache.org Received: (qmail 23529 invoked by uid 500); 18 May 2010 21:06:06 -0000 Mailing-List: contact pig-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@hadoop.apache.org Delivered-To: mailing list pig-dev@hadoop.apache.org Received: (qmail 23521 invoked by uid 99); 18 May 2010 21:06:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 21:06:06 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 21:06:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4IL5hor003539 for ; Tue, 18 May 2010 21:05:43 GMT Message-ID: <11246089.113921274216742995.JavaMail.jira@thor> Date: Tue, 18 May 2010 17:05:42 -0400 (EDT) From: "Russell Jurney (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Updated: (PIG-1420) Make CONCAT act on all fields of a tuple, instead of just the first two fields of a tuple In-Reply-To: <20999461.56361273877863305.JavaMail.jira@thor> 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/PIG-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russell Jurney updated PIG-1420: -------------------------------- Attachment: (was: concat.patch) > Make CONCAT act on all fields of a tuple, instead of just the first two fields of a tuple > ----------------------------------------------------------------------------------------- > > Key: PIG-1420 > URL: https://issues.apache.org/jira/browse/PIG-1420 > Project: Pig > Issue Type: Improvement > Components: impl > Affects Versions: 0.8.0 > Reporter: Russell Jurney > Fix For: 0.7.0 > > Attachments: addconcat.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > org.apache.pig.builtin.CONCAT (which acts on DataByteArray's internally) and org.apache.pig.builtin.StringConcat (which acts on Strings internally), both act on the first two fields of a tuple. This results in ugly nested CONCAT calls like: > CONCAT(CONCAT(A, ' '), B) > The more desirable form is: > CONCAT(A, ' ', B) > This change will be backwards compatible, provided that no one was relying on the fact that CONCAT ignores fields after the first two in a tuple. This seems a reasonable assumption to make, or at least a small break in compatibility for a sizable improvement. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.