Thanks Krishna/Nitin.
From: Nitin Pawar
To: user@hive.apache.org
Sent: Monday, 4 March 2013 2:28 AM
Subject: Re: hive commands from a file
Try hive -f filename
On Mar 4, 2013 3:55 PM, "Sai Sai" wrote:
Just wondering if it is possible to run
Try hive -f filename
On Mar 4, 2013 3:55 PM, "Sai Sai" wrote:
> Just wondering if it is possible to run a bunch of hive commands from a
> file rather than one a time.
> For ex:
> 1. Create external...
> 2. Load ...
> 3. Select * from ...
> 4
>
> Thanks
> Sai
>
Hi Sai,
just use the "-f" arg together with the file name. For details see:
https://cwiki.apache.org/Hive/languagemanual-cli.html
Krishna
On 4 March 2013 10:24, Sai Sai wrote:
> Just wondering if it is possible to run a bunch of hive commands from a
> file rather than one a time.
> For ex:
>
Just wondering if it is possible to run a bunch of hive commands from a file
rather than one a time.
For ex:
1. Create external...
2. Load ...
3. Select * from ...
4
Thanks
Sai