hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (JIRA)" <>
Subject [jira] [Commented] (HIVE-2020) Create a separate namespace for Hive variables
Date Sat, 20 Aug 2011 01:13:29 GMT

] commented on HIVE-2020:

This is an automatically generated e-mail. To reply, visit:

Review request for hive and Carl Steinbach.


1. Added support  hivevar
2. Removed dependency on new class
3. Added test case

This addresses bug HIVE-2020.


  cli/src/java/org/apache/hadoop/hive/cli/ a2976b5 
  cli/src/java/org/apache/hadoop/hive/cli/ 90084ed 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ e203dda 
  ql/src/java/org/apache/hadoop/hive/ql/processors/ 97fa1ab 
  ql/src/java/org/apache/hadoop/hive/ql/session/ 6a6e8e8 
  ql/src/test/queries/clientpositive/set_variable_sub.q PRE-CREATION 
  ql/src/test/results/clientpositive/set_variable_sub.q.out PRE-CREATION 





> Create a separate namespace for Hive variables
> ----------------------------------------------
>                 Key: HIVE-2020
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Carl Steinbach
>            Assignee: Vaibhav Aggarwal
>         Attachments: HIVE-2020-2.patch, HIVE-2020-3.patch, HIVE-2020.patch
> 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:


View raw message