You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Raj hadoop <ra...@gmail.com> on 2013/04/24 22:25:11 UTC

Generate sequence number in Pig

Hi,

Can you please help me  to generate sequence number using Pig?


Raj

Re: Generate sequence number in Pig

Posted by Raj hadoop <ra...@gmail.com>.
Thank you so much.


On Thu, Apr 25, 2013 at 2:17 AM, j.barrett Strausser <
j.barrett.strausser@gmail.com> wrote:

> You may use the Rank function.
> http://pig.apache.org/docs/r0.11.1/basic.html#rank
>
>
> -b
>
>
> On Wed, Apr 24, 2013 at 4:25 PM, Raj hadoop <ra...@gmail.com> wrote:
>
> > Hi,
> >
> > Can you please help me  to generate sequence number using Pig?
> >
> >
> > Raj
> >
>
>
>
> --
>
>
> https://github.com/bearrito
> @barrettsmash
>

Re: Generate sequence number in Pig

Posted by "j.barrett Strausser" <j....@gmail.com>.
You may use the Rank function.
http://pig.apache.org/docs/r0.11.1/basic.html#rank


-b


On Wed, Apr 24, 2013 at 4:25 PM, Raj hadoop <ra...@gmail.com> wrote:

> Hi,
>
> Can you please help me  to generate sequence number using Pig?
>
>
> Raj
>



-- 


https://github.com/bearrito
@barrettsmash