gt; >> Hi Ruslan,
>> >>
>> >> Thanks for the response.I think I have made a mistake.Actually I
>> >> just want the top 5 records each time.I don't have any sorting
>> >> requirements.
>> >>
>> >> Regards,
>&
> >> requirements.
> >>
> >> Regards,
> >> Mohammad Tariq
> >>
> >>
> >> On Mon, May 21, 2012 at 9:31 PM, Ruslan Al-fakikh
> >> wrote:
> >> > Hey Mohammad,
> >> >
> >> > He
P(5,3,a);
>> > you say: take 5 records out of a that have the biggest values in the
>> third
>> > column. Do you really need that sorting by the third column?
>> >
>> > -Original Message-
>> > From: Mohammad Tariq [mailto:donta...@gmail.com]
&
take 5 records out of a that have the biggest values in the
> third
> > column. Do you really need that sorting by the third column?
> >
> > -Original Message-
> > From: Mohammad Tariq [mailto:donta...@gmail.com]
> > Sent: Monday, May 21, 2012 3:54 PM
> > To: user@pig.
TOP(5,3,a);
> you say: take 5 records out of a that have the biggest values in the third
> column. Do you really need that sorting by the third column?
>
> -Original Message-
> From: Mohammad Tariq [mailto:donta...@gmail.com]
> Sent: Monday, May 21, 2012 3:54 PM
> To: use
@pig.apache.org
Subject: How to use TOP?
Hello list,
I have an Hdfs file that has 6 columns that contain some data stored in an
Hbase table.the data looks like this -
18.98 2000 1.21 193.46 2.6458.17
52.49 2000.5 4.32 947.11 2.7464.45
115.24 2001
Hello list,
I have an Hdfs file that has 6 columns that contain some data stored
in an Hbase table.the data looks like this -
18.98 2000 1.21 193.46 2.6458.17
52.49 2000.5 4.32 947.11 2.7464.45
115.24 2001 16.8 878.58 2.669