Re: hive commands from a file

2013-03-04 Thread Sai Sai
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

Re: hive commands from a file

2013-03-04 Thread Nitin Pawar
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 >

Re: hive commands from a file

2013-03-04 Thread Krishna Rao
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: >

Re: hive commands from a file

2013-03-04 Thread Sai Sai
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