I have 2 tables in Hive – first is external, the second one is managed. Managed table is populated from external using INSERT OVERWRITE…SELECT FROM external_table. Both tables are created with row delimited by ‘,’. When I run selects queries into file, the delimiter in result file is Tab, but I need comma. How to change it to comma, I see no properties for that.
Share
First of all, you need to change you field delimiter , not your line delimiter ie.
Secondly, if you still face this issue, you can simply change it using sed.
Please not that [\t] is to press Control+V and then the tab char: