I am running many commands like this to export data from hive as CSVs:
INSERT OVERWRITE DIRECTORY '/output/database/table/'
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
SELECT * FROM database.table;
That command does exactly what I want it to, but I am getting totally random file sizes on the output ranging from 100mb to 500mb. I would like to specify a max file size for it to write out, around 200mb. Is this possible?