hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankit Bhatnagar <ank...@yahoo-inc.com>
Subject Re: Writing hive column headers in 'Insert overwrite query'
Date Wed, 13 Jan 2016 06:34:04 GMT
r u looking for 
hive -e "set hive.cli.print.header=true; < query> " > output  

    On Tuesday, January 12, 2016 10:14 PM, Sreenath <sreenaths1923@gmail.com> wrote:
 

 Hi All,
Is there a way we can write the hive column headers also along with the output when we are
overwriting a query's output to an HDFS or local directory ?

-- 
Sreenath S KamathBangalorePh No:+91-9590989106

  
Mime
View raw message