我在 oozie 中将 Hive 作为一个动作运行。有没有办法可以在 Hive 中使用属性变量?如果是,我该如何设置它们?例如:当我创建一个外部表时,我想将位置设置为一个属性。
CREATE EXTERNAL TABLE IF NOT EXISTS test(
id bigint,
name string
)
row format DELIMITED FIELDS TERMINATED BY "^"
location "/user/test/data";
那么是否可以将位置设置为
location ${input}
我在我的属性文件中设置$(input)的位置。