Are you looking for MultiStorage instead of pigstorage?

See
http://pig.apache.org/docs/r0.10.0/api/org/apache/pig/piggybank/storage/MultiStorage.html
.

- Gaurav
On Nov 17, 2013 9:01 PM, "soniya B" <[email protected]> wrote:

> Hi friends,
>
> I have a sample script below
>
> AA = ....
> A= filter AA by ID = 2;
> B= foreach A generate ID,name,description;
> Store A into '/main/abc' ;
>
>
> I want to store the ID value in the end of filepath. i.e  'main/abc/ID' .
>
> here, i have to get filepath as '/main/abc/2' .
>
> Could you please help me? if is not possible in pig latin then how to do it
> in the shell script?
>
> Thanks
> Soniya
>

Reply via email to