[ 
https://issues.apache.org/jira/browse/HIVE-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903645#action_12903645
 ] 

Vaibhav Aggarwal commented on HIVE-1604:
----------------------------------------

I think that introducing a new option '-d' is simpler as compared to reusing 
'-hiveconf'.
We have been using this patch at Amazon Elastic Map Reduce for allowing 
variable substitution in Hive.
We just wanted to contribute it back.

Please feel free to use this patch for introducing variables if it meets 
expectations.
Else we can wait for the HIVE 1096 to be committed.

Thanks
Vaibhav

> Patch to allow variables in Hive
> --------------------------------
>
>                 Key: HIVE-1604
>                 URL: https://issues.apache.org/jira/browse/HIVE-1604
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: CLI
>            Reporter: Vaibhav Aggarwal
>         Attachments: HIVE-1604.patch
>
>
> Patch to Hive which allows command line substitution.
> The patch modifies the Hive command line driver and options processor to 
> support the following arguments:
> hive  [-d key=value] [-define key=value] 
>   -d                        Subsitution to apply to script
>   -define               Subsitution to apply to script

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to