簡體   English   中英

如何從 hive cli 運行 hive 腳本

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM