iveconf MY_VAR =`cat /tmp/result/00_0`;
>
>
>
> Is not working
>
>
>
> *From:* Sanjay Subramanian [mailto:sanjaysubraman...@yahoo.com]
> *Sent:* Tuesday, June 03, 2014 2:30 AM
> *To:* user@hive.apache.org
> *Subject:* Re: Storing result of a query in a variable
&g
./hive -e --hiveconf MY_VAR =`cat /tmp/result/00_0`;
Is not working
From: Sanjay Subramanian [mailto:sanjaysubraman...@yahoo.com]
Sent: Tuesday, June 03, 2014 2:30 AM
To: user@hive.apache.org
Subject: Re: Storing result of a query in a variable
Add -e option
./hive -e --hiveconf MY_VAR
Add -e option
./hive -e --hiveconf MY_VAR =`cat /tmp/result/00_0`;
But u could use the following hdfs command as well
MY_VAR=$(hdfs dfs -cat /tmp/result/00_0)
thanks
sanjay
From: Chhaya Vishwakarma
To: "user@hive.apache.org"
Sent: Monday, June 2