Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有配置单元脚本 custsales.hql 现在我想从配置单元 cli 运行它
hive (pract5)> run /user/training/hdfs_location/custsales.hql
但它不执行。请指导。我知道我们可以从命令行运行它
$ hive -f /home/training/local_location/custsales.hql
但这不是我的要求。
使用source path/to/script命令。
source path/to/script