Created 10-03-2018 05:05 PM
Created 10-03-2018 05:09 PM
Created 10-03-2018 05:28 PM
You can replace 2 parameters at a time.
ex :
create database ${Database}; use ${Database}; create table abc(name string) location '${location}';
You can run it like hive --hivevar Database=dbname --hivevar location=/tmp -f filename.hql.
.
Please "Accept" if this helps . If this doesn't work please paste the error that you are facing.
Created 10-03-2018 05:50 PM
Hi @Aditya Sirna i was referring to work it on Nifi.. sorry for confusion . i have edited the question