RE: Concat multiple strings

2012-01-25 Thread Marek Miglinski
:02 AM To: user@pig.apache.org Subject: Re: Concat multiple strings Looks like a bug to me. I don't think getArgToFuncMapping is doing the right thing here. Thanks, Prashant On Tue, Jan 24, 2012 at 6:19 PM, Michael Lok fula...@gmail.com wrote: Anyone tried using the CONCAT with 2 params using

Re: Concat multiple strings

2012-01-25 Thread Michael Lok
, Marek M. From: Prashant Kommireddi [prash1...@gmail.com] Sent: Wednesday, January 25, 2012 5:02 AM To: user@pig.apache.org Subject: Re: Concat multiple strings Looks like a bug to me. I don't think getArgToFuncMapping is doing the right thing here

Re: Concat multiple strings

2012-01-22 Thread Aniket Mokashi
Alan, I just noticed its Pig 0.8 and later. https://issues.apache.org/jira/browse/PIG-1420 Am I missing something? Thanks, Aniket On Thu, Jan 19, 2012 at 8:04 AM, Alan Gates ga...@hortonworks.com wrote: In Pig 0.9 and later CONCAT accepts more than two strings or bytearrays. Alan. On Jan

Re: Concat multiple strings

2012-01-22 Thread Prashant Kommireddi
Aniket, if you read through the comments you would notice the feature was actually added in 0.9. The one in 0.8 had an issue. Thanks, Prashant Sent from my iPhone On Jan 22, 2012, at 5:44 PM, Aniket Mokashi aniket...@gmail.com wrote: Alan, I just noticed its Pig 0.8 and later.

Re: Concat multiple strings

2012-01-22 Thread Aniket Mokashi
Thanks Prashant. I just realized that! I thought we had it in 0.8, good stuff to know. :) Thanks, Aniket On Sun, Jan 22, 2012 at 5:53 PM, Prashant Kommireddi prash1...@gmail.comwrote: Aniket, if you read through the comments you would notice the feature was actually added in 0.9. The one in

RE: Concat multiple strings

2012-01-19 Thread Marek Miglinski
@pig.apache.org Subject: Concat multiple strings Hi folks, Is there an another way to perform string concat on multiple columns instead of using the built in CONCAT function which only takes 2 arguments? I can do CONCAT(str1, CONCAT(str2, str3)), but that's really stretching it if I have more than 4

Re: Concat multiple strings

2012-01-19 Thread Alan Gates
In Pig 0.9 and later CONCAT accepts more than two strings or bytearrays. Alan. On Jan 18, 2012, at 11:39 PM, Michael Lok wrote: Hi folks, Is there an another way to perform string concat on multiple columns instead of using the built in CONCAT function which only takes 2 arguments? I

Concat multiple strings

2012-01-18 Thread Michael Lok
Hi folks, Is there an another way to perform string concat on multiple columns instead of using the built in CONCAT function which only takes 2 arguments? I can do CONCAT(str1, CONCAT(str2, str3)), but that's really stretching it if I have more than 4 fields :) Thanks!