本文介绍了有没有办法用参数的sql脚本运行impala shell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 有什么办法可以用参数的SQL脚本运行impala shell吗?Is there any way to run impala shell with SQL script with parameters?例如:For example:impala-shell -f /home/john/sql/load.sql /dir1/dir2/dir3/data_file出现错误:I got errors:推荐答案不,你可以使用 -f 指定一个sql语句文件,但它不需要参数文件。有关更多详细信息,请参阅impala-shell文档: http://www.cloudera.com/content/ cloudera / en / documentation / core / latest / topics / impala_impala_shell.htmlNo, you can specify a file of sql statements with -f, but it does not take a file of parameters. See the impala-shell documentation for more details:http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/impala_impala_shell.html 这篇关于有没有办法用参数的sql脚本运行impala shell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
06-11 14:57