r u looking for 
hive -e "set hive.cli.print.header=true; < query> " > output  

    On Tuesday, January 12, 2016 10:14 PM, Sreenath <sreenaths1...@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

  

Reply via email to