Re: How to use TOP?

2012-05-22 Thread Mohammad Tariq
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, >&

Re: How to use TOP?

2012-05-22 Thread Abhinav Neelam
> >> requirements. > >> > >> Regards, > >> Mohammad Tariq > >> > >> > >> On Mon, May 21, 2012 at 9:31 PM, Ruslan Al-fakikh > >> wrote: > >> > Hey Mohammad, > >> > > >> > He

Re: How to use TOP?

2012-05-22 Thread Mohammad Tariq
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] &

Re: How to use TOP?

2012-05-21 Thread Abhinav Neelam
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.

Re: How to use TOP?

2012-05-21 Thread Mohammad Tariq
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

RE: How to use TOP?

2012-05-21 Thread Ruslan Al-fakikh
@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

How to use TOP?

2012-05-21 Thread Mohammad Tariq
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