I read through this question, which is essentially what I'm trying to do. For a couple of reasons this approach seems to most straighforward for my need:
DROP TABLE IF EXISTS TestHiveTableCSV; 
CREATE TABLE TestHiveTableCSV 
ROW FORMAT DELIMITED 
FIELDS TERMINATED BY ',' 
LINES TERMINATED BY '\n' AS
 SELECT Column List FROM TestHiveTable;
However when I move that file from HDFS onto my local filesysyem I lose the headers. Any idea how to add headers?
 
     
    