有没有办法用带参数的SQL脚本运行impala shell?

例如:

impala-shell -f /home/john/sql/load.sql /dir1/dir2/dir3/data_file

我有错误:

最佳答案

不,您可以使用 -f 指定一个 sql 语句文件,但它不带参数文件。有关更多详细信息,请参阅 impala-shell 文档:
http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/impala_impala_shell.html

关于hadoop - 有没有办法用带参数的sql脚本运行impala shell?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/28419361/

10-11 20:52