Pig script please?

Sent from my iPhone

On Jun 8, 2012, at 1:09 PM, Alan Gates <[email protected]> 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
> 

Reply via email to