标签: hadoop hive
我有hive脚本custsales.hql现在我想从hive cli运行它
hive (pract5)> run /user/training/hdfs_location/custsales.hql
但它没有执行。请指导。我知道我们可以使用
$ hive -f /home/training/local_location/custsales.hql
但这不是我的要求。
答案 0 :(得分:1)
使用source path/to/script命令。
source path/to/script