[英]How to run hive script from hive cli
我现在有 hive 脚本 custsales.hql 我想从 hive cli 运行它
hive (pract5)> run /user/training/hdfs_location/custsales.hql
但它不执行。 请指导。 我知道我们可以从命令行运行它
$ hive -f /home/training/local_location/custsales.hql
但这不是我的要求。
使用source path/to/script
命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.