hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Bender <jonathan.ben...@gmail.com>
Subject Re: HiveQL scripts and input arguments
Date Wed, 04 May 2011 23:15:58 GMT
Thanks everybody.

More reader friendly version of that SVN doc:
http://archive.cloudera.com/cdh/3/hive/language_manual/var_substitution.html

On Wed, May 4, 2011 at 3:15 PM, Time Less <timelessness@gmail.com> wrote:

>
> Just wondering if there is native support for input arguments on Hive
>> scripts.
>>  eg. $ bin/hive -f script.q <arg1 arg2>
>> Any documentation I could reference to look into this further?
>>
>
> A workaround:
>
> cat script.q | sed -e 's/arg1/arg1val/' | bin/hive
>
> --
> Tim Ellis
> Riot Games
>
>

Mime
View raw message