gpt4 book ai didi

hadoop - 如何从配置单元 cli 运行配置单元脚本

转载 作者:可可西里 更新时间:2023-11-01 14:51:25 26 4
gpt4 key购买 nike

我现在有配置单元脚本 custsales.hql,我想从配置单元 cli 运行它

hive (pract5)> run /user/training/hdfs_location/custsales.hql

但它不执行。请指导。我知道我们可以从命令行运行它

$ hive -f /home/training/local_location/custsales.hql

但这不是我的要求。

最佳答案

使用source path/to/script 命令。

关于hadoop - 如何从配置单元 cli 运行配置单元脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46811109/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com