You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Alan Gates <ga...@hortonworks.com> on 2012/06/08 19:09:20 UTC

Re: pig:-storage problem

Bouncing this to pig user, where your more likely to get an answer.  Could you share your Pig Latin script.  It will make it easier to diagnose.

Alan.

On Jun 7, 2012, at 9:54 PM, avnish pundir wrote:

> hi everyone,
>  
> I've to generate sequence number for my data in pig.I'm using RANDOM() function to generate it.I'm storing the random no value to some alias.But if I'm using this alias further in my pig script,it again creating some other random values for that alias.At last I'm storing the first random no generated value to HDFS then loading it to my script.It causing two extra steps in my script.Plz suggest some solutions to it .Is there any other way to generate sequence no for my data....?
>  
> thanks
>  
>  
> Avnish pundir


Re: pig:-storage problem

Posted by Alex Rovner <al...@gmail.com>.
Pig script please?

Sent from my iPhone

On Jun 8, 2012, at 1:09 PM, Alan Gates <ga...@hortonworks.com> wrote:

> Bouncing this to pig user, where your more likely to get an answer.  Could you share your Pig Latin script.  It will make it easier to diagnose.
> 
> Alan.
> 
> On Jun 7, 2012, at 9:54 PM, avnish pundir wrote:
> 
>> hi everyone,
>> 
>> I've to generate sequence number for my data in pig.I'm using RANDOM() function to generate it.I'm storing the random no value to some alias.But if I'm using this alias further in my pig script,it again creating some other random values for that alias.At last I'm storing the first random no generated value to HDFS then loading it to my script.It causing two extra steps in my script.Plz suggest some solutions to it .Is there any other way to generate sequence no for my data....?
>> 
>> thanks
>> 
>> 
>> Avnish pundir
>