Hi
This is a blog for beginners to concat multiple expressoins in Pig scripts.
http://www.unmeshasreeveni.blogspot.in/2014/04/how-to-concat-multiple-expressions-in.html
Please post your comments for the same
Let me know your thoughts.
--
*Thanks & Regards *
*Unmesha Sreeveni U.B*
*Ha
Thanks all of you!
2012/7/12 Marek Miglinski
> Try MassCONCAT:
> http://codeupload.com/4992
>
>
> Marek Miglinski
>
> From: Dan Young [danoyo...@gmail.com]
> Sent: Thursday, July 12, 2012 5:14 AM
> To: user@pig.apache.org
&
Try MassCONCAT:
http://codeupload.com/4992
Marek Miglinski
From: Dan Young [danoyo...@gmail.com]
Sent: Thursday, July 12, 2012 5:14 AM
To: user@pig.apache.org
Subject: Re: How to CONCAT multiple expressions
Try org.apache.pig.builtin.StringConcat
Dano
Try org.apache.pig.builtin.StringConcat
Dano
On Tuesday, July 10, 2012, Cdy Chen wrote:
> Hi all,
>
> I am a new comer here. I encounter a problem toady:
>
> Pig version: 0.10.0
>
> temp2 = LOAD '/pig/procedure/tzone' USING PigStorage(';');
> zone = FOREACH temp2
> {
>a = STRSPLIT($0,'#',3)
StringConcat should work:
key = StringConcat((chararray)product.$1,(chararray)$7,(chararray)$6);
scott.
On Tue, Jul 10, 2012 at 6:27 PM, Russell Jurney
wrote:
> I really need to fix this in pig 0.11
>
> Russell Jurney
> twitter.com/rjurney
> russell.jur...@gmail.com
> datasyndrome.com
>
> On Ju
I really need to fix this in pig 0.11
Russell Jurney
twitter.com/rjurney
russell.jur...@gmail.com
datasyndrome.com
On Jul 10, 2012, at 5:34 PM, Cdy Chen wrote:
> Thank you !
>
> I use
>
> key2 = CONCAT($1,$6);
> key = CONCAT(key2,$8);
>
> It also works!
>
> Regards,
> Chen
>
> 2012/7/10 Haitao
Thank you !
I use
key2 = CONCAT($1,$6);
key = CONCAT(key2,$8);
It also works!
Regards,
Chen
2012/7/10 Haitao Yao
> like this:
>
> CONCAT(CONCAT('all', ':'), 'all')
>
> It's ugly , but the concat only accepts 2 parameters.
> Here's the java doc of CONCAT class:
> /**
> * Generates the conc
like this:
CONCAT(CONCAT('all', ':'), 'all')
It's ugly , but the concat only accepts 2 parameters.
Here's the java doc of CONCAT class:
/**
* Generates the concatenation of the first two arguments. It can be
* used with two bytearrays or two chararrays (but not a mixture of the two).
*/