Check out example codes for "hue hive Uploading Text File to Hive". It will help you in understanding the concepts better.

Code Example 1

-- Loading data from HDFS folder PATH into Hive Table
LOAD DATA INPATH '/tmp/myCsvFile' 
 OVERWRITE INTO TABLE databaseXX.tableXX;

Learn ReactJs, React Native from akashmittal.com