【发布时间】:2016-10-03 03:06:01
【问题描述】:
在 hive 中传递参数对我不起作用。我的代码:
hive> set x='test variable';
hive> ${hiveconf:x};
我收到此错误:
失败:解析错误:第 1:0 行无法识别
''test variable'' '<EOF>' '<EOF>'附近的输入
【问题讨论】:
-
为什么不在执行前使用
select ${hiveconf:x};打印出来?
标签: hadoop hive hiveql hadoop-streaming