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

Switch to Threaded View
Pig >> mail # user >> Re: pig:-storage problem

Copy link to this message
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.


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