Re: Does hive have batch processing mode ?

2010-11-25 Thread Jeff Zhang
Thanks, it works


On Thu, Nov 25, 2010 at 3:49 PM, james warren ja...@rockyou.com wrote:
 Try the following:
 % hive -f myhive.file

 cheers,
 -James
 On Wed, Nov 24, 2010 at 11:37 PM, Jeff Zhang zjf...@gmail.com wrote:

 Hi all,

 I have a bunch of files, and want to import them into one table each
 partition per file. Currently, I have to enter each add partition
 statement in cli.

 So I wonder whether hive have a batch processing mode, so that I can
 put the sql statements in one file, and execute the file using one
 command.

 Thanks in advance.

 --
 Best Regards

 Jeff Zhang





-- 
Best Regards

Jeff Zhang


Does hive have batch processing mode ?

2010-11-24 Thread Jeff Zhang
Hi all,

I have a bunch of files, and want to import them into one table each
partition per file. Currently, I have to enter each add partition
statement in cli.

So I wonder whether hive have a batch processing mode, so that I can
put the sql statements in one file, and execute the file using one
command.

Thanks in advance.

-- 
Best Regards

Jeff Zhang