Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Export data with column names


Copy link to this message
-
RE: Export data with column names
set hive.cli.print.header=true;
-----Original Message-----
From: Raghunath, Ranjith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 03, 2011 11:03 AM
To: '[EMAIL PROTECTED]'
Subject: Re: Export data with column names

Thanks. Is there something I can do with cli?

Thanks,
Ranjith      

----- Original Message -----
From: Matthew Rathbone <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Sent: Tue May 03 09:45:58 2011
Subject: Re: Export data with column names

If you use the thrift client you can call connection.getSchema()

--
Matthew Rathbone
Foursquare | Software Engineer | Server Engineering Team
[EMAIL PROTECTED] | @rathboma | 4sq

On Monday, May 2, 2011 at 11:12 PM, Raghunath, Ranjith wrote:
Does anyone know how to export data out with column names? Any help here is appreciated.
>
> Thanks,
> Ranjith
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB