Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Pig newbie Questions.


Copy link to this message
-
Re: Pig newbie Questions.
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