Created 10-22-2018 10:27 AM
LOAD DATA INPATH '/Project/' OVERWRITE INTO TABLE tb1;
Created 10-23-2018 04:43 AM
Let me know how you generate the files.
Created 10-23-2018 09:44 AM
JSON files are generated from twitter API using python now i want to load these files in HIVE tables but need to automate this process.
Created 10-27-2018 12:24 AM
You can write your processes into script file.
test.sh
# Run the python to generate JSON file
# hive -e "LOAD DATA INPATH '/Project/' OVERWRITE INTO TABLE tb1;"
# hive -e "select * from your table"
Run test.sh !