Is there a command line in HIVE that can be used to define the format of the output file to CSV?
Something similar to the below example?
set hive.resultset.use.unique.column.names=false;
EDIT - Added the following for further context 12/18.
A terminal window I'm using has predefined settings for the command line when it runs an 'export' through a script. The following is it's commands:
set hive.metastore.warehouse.dir=/idn/home/user;
set mapred.job.queue.name=root.gmis;
set hive.exec.scratchdir=/axp/hivescratch/user;
set hive.resultset.use.unique.column.names=false;
set hive.cli.print.header=true;
set hive.groupby.orderby.position.alias=true;
Is there another command I could add versus the lengthy strings per below? I'm using in the other hive terminal the following; but it's SQL is different(?).
cloak-hive -e "INSERT OVERWRITE LOCAL DIRECTORY '/adshome/user/VS_PMD' ROW FORMAT DELIMITED FIELDS TERMINATED BY ','