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
>

Reply via email to