Sai Sai 2013-03-16, 06:38
Konstantin Zaytsev 2013-03-16, 06:44
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.
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
> Your help is appreciated.