Question: how to import data from csv file to hive table?
Answer: Step 1: Sample CSV File. Create a sample CSV file named as sample_1. ... 
Step 2: Copy CSV to HDFS. Run Below commands in the shell for initial setup. ... 
Step 3: Create temporary Hive Table and Load data. ... 
Step 4: Verify data. ... 
Step 5: Create an ORC table. ... 
Step 6: Copy data from a temporary table. ... 
Step 6: Output.