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 >> Query


My solution:
1. Echo columns into a file;
2. Run queries then append into that file.

On Tue, Oct 23, 2012 at 1:56 PM, Venugopal Krishnan
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> We have a requirement where we need to print the column headers in the
> generated file on executing a query. We are using Jdbc hive client to
> execute the query.
>
>
>
> Regards,
>
> Venugopal
>
>
>
>
> ________________________________
>
> http://www.mindtree.com/email/disclaimer.html
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