hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenin Gali" <>
Subject Re: Dynamic Configuration support in Hive SQL
Date Mon, 21 Mar 2011 15:35:00 GMT
Best way to do this is to write shell or python scripts and echo with substitute variables
and call hive from command line passing -f argument with output file.

Sent from my BlackBerry® wireless handheld

-----Original Message-----
From: amit jaiswal <>
Date: Mon, 21 Mar 2011 08:10:55 
To: <>
Subject: Dynamic Configuration support in Hive SQL


Does hive support dynamic configuration? For example: is it possible to write a 
hive script with some ${PARAM} variables and let hive replace these parameters 
with their values at runtime.

Original hive script:
select * from person where age > ${MIN_AGE};

Config file:

And hive replaces the MIN_AGE parameter automatically.


View raw message