Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Concat multiple strings


Copy link to this message
-
Re: Concat multiple strings
Aniket Mokashi 2012-01-23, 01:43
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 <[EMAIL PROTECTED]> wrote:

> 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 can do CONCAT(str1, CONCAT(str2, str3)), but that's really
> > stretching it if I have more than 4 fields :)
> >
> >
> > Thanks!
>
>
--
"...:::Aniket:::... Quetzalco@tl"