Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Re: hive commands from a file


+
Sai Sai 2013-03-04, 10:24
+
Nitin Pawar 2013-03-04, 10:28
+
Sai Sai 2013-03-04, 10:46
Copy link to this message
-
Re: hive commands from a file
Krishna Rao 2013-03-04, 10:28
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 <[EMAIL PROTECTED]> 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
>