Thanks Konstatin.
When using something like this: 
        limit myRelation 10;
Is it possible to for the headers/column names to be displayed along with the 
top 10 rows.
Thanks
Sai





________________________________
 From: Konstantin Zaytsev <[email protected]>
To: [email protected]; Sai Sai <[email protected]> 
Sent: Friday, 15 March 2013 11:44 PM
Subject: Re: Pig newbie Questions.
 
1. Use DESCRIBE *relation_name*
2. Use ILLUSTRATE *relation_name* - that way you'll get a random row.


On 16 March 2013 12:38, Sai Sai <[email protected]> wrote:

> 1. How to display the column names in pig in a console.
>
> 2. When using dump, can we just get the top 10 rows rather than all other
> rows.
>
> Your help is appreciated.
>
> Thanks
> Sai

Reply via email to