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

Switch to Threaded View
Pig >> mail # user >> pig question


Copy link to this message
-
Re: Pig question
cdh-user to bcc

Your question doesn't make much sense...I think you may have left a piece
off?
2013/5/7 abhishek <[EMAIL PROTECTED]>

> Hi all,
>
> In my script
>
> a = load 'data' using PigStorage();
>
> b = foreach a generate
> 342 as col1,
> substring(x,0,4) as col2,
> ;
>
> I want to use col2 later in foreach statement.
>
> derived col2 should be used below.
>
> Regards
> Abhi
>
> --
>
>
>
>