[ https://issues.apache.org/jira/browse/HIVE-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072011#comment-13072011 ]
jirapos...@reviews.apache.org commented on HIVE-2020: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/1204/ ----------------------------------------------------------- Review request for hive. Summary ------- Create a separate option for Hive variable This addresses bug HIVE-2020. https://issues.apache.org/jira/browse/HIVE-2020 Diffs ----- cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java 9fa7bc6 cli/src/java/org/apache/hadoop/hive/cli/DefaultPreprocessor.java PRE-CREATION cli/src/java/org/apache/hadoop/hive/cli/KeyValue.java PRE-CREATION cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java 90084ed cli/src/java/org/apache/hadoop/hive/cli/Preprocessor.java PRE-CREATION Diff: https://reviews.apache.org/r/1204/diff Testing ------- Thanks, Vaibhav > Create a separate namespace for Hive variables > ---------------------------------------------- > > Key: HIVE-2020 > URL: https://issues.apache.org/jira/browse/HIVE-2020 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Carl Steinbach > Assignee: Vaibhav Aggarwal > > Support for variable substitution was added in HIVE-1096. However, variable > substitution was implemented by reusing the HiveConf namespace, so there is > no separation between Hive configuration properties and Hive variables. > This ticket encompasses the following enhancements: > * Create a separate namespace for managing Hive variables. > * Add support for setting variables on the command line via '-hivevar x=y' > * Add support for setting variables through the CLI via 'var x=y' > * Add support for referencing variables in statements using either > '${hivevar:var_name}' or '${var_name}' > * Provide a means for differentiating between hiveconf, hivevar, system, and > environment properties in the output of 'set -v' -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira