#以shll方式执行hive命令 hive -e ""
#执行含有shell命令的脚本 hive -f xx.sh
#清空表中的数据 truncate table db.table
#文件中数据导入到hive load data inpath '/user/hive/tmp1.csv' into table db.table
#文件中数据导入到hive(覆盖) load data inpath '/user/hive/tmp1.csv' OVERWRITE into table db.table
|