[ 
https://issues.apache.org/jira/browse/HIVE-5131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xuefu Zhang updated HIVE-5131:
------------------------------

    Release Note: 
We haven't documented the usage in which hive variables may be specified at 
hive JDBC url, which can be used to substitute parameters present in user 
query. For instance, jdbc:hive2://localhost:10000#D_TBL=dummy_t specifies a 
hive variable D_TBL with a value dummy_t. In user query, ${D_TBL} or 
${hivevar:D_TBL} can be used to refer to the value dummy_t. Thus, a DDL, 
"create table ${D_TBL} (d int);" will create a table named dummy_t.

The functionality was there for hive embedded mode. This JIRA will make this 
available for Hive remote mode as well.
    
> JDBC client's hive variables are not passed to HS2
> --------------------------------------------------
>
>                 Key: HIVE-5131
>                 URL: https://issues.apache.org/jira/browse/HIVE-5131
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.11.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.12.0
>
>         Attachments: HIVE-5131.1.patch, HIVE-5131.patch, HIVE-5131.patch
>
>
> Related to HIVE-2914. However, HIVE-2914 seems addressing Hive CLI only. JDBC 
> clients suffer the same problem. This was identified in HIVE-4568. I decided 
> it might be better to separate issue from a different issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to