Hi All,
I am executing hql file through shall commend. my query output should be stored in hiveconf variable. So that i will use the variable in other query.
basically i am from sql server background. In sql server we use do like this.
Declare @cnt as int;
select @cnt=count(1) from table;
so that @cnt will be used several place.
I don’t how to achieve this. can anyone help me.
Thanks
venkadesan