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

Switch to Threaded View
Hive >> mail # user >> Re: hive commands from a file


Copy link to this message
-
Re: hive commands from a file
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
>