Created on 01-07-2018 05:32 AM - edited 09-16-2022 05:42 AM
Hi
I have only just begun to learn HIVE. I am trying to upload a CSV file. However it does not look correct in Ambari view, please see screen shot attached. I cannot set up my columns as the data does not look to be separating correctly.
Have I missed a step or done something wrong? I have field delimiter set a ",".
Created on 01-07-2018 06:14 AM - edited 08-18-2019 02:03 AM
In the Hive View if you click on the "Settings" button just at the right side of "File Type" field then you should see more options to select the delimiter.
.
.
You will need to check your file to findout if it has any special characters? Or if the Data Delimiter is choosen correctly or not?
Also please check different File Editiors like "vi" editor or "vim" or some other tools to see if your File contains any hidden character.
Created on 01-07-2018 06:14 AM - edited 08-18-2019 02:03 AM
In the Hive View if you click on the "Settings" button just at the right side of "File Type" field then you should see more options to select the delimiter.
.
.
You will need to check your file to findout if it has any special characters? Or if the Data Delimiter is choosen correctly or not?
Also please check different File Editiors like "vi" editor or "vim" or some other tools to see if your File contains any hidden character.
Created 01-07-2018 08:36 AM
thank you. I was following this procedure however there was an error in my csv file. For some reason I needed to resave it again as csv.