...
Hive Variables combine the set capability you know and love with some limited yet powerful (evil laugh) substitution ability. For example:
Code Block |
---|
$ bin/hive --hiveconf a=b -e 'set a; set hiveconf:a; \
create table if not exists b (col int); describe ${hiveconf:a}'
|
...