[
https://issues.apache.org/jira/browse/HIVE-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761656#comment-13761656
]
Navis commented on HIVE-4354:
-----------------------------
[~thejas] How about just reusing this issue? (after editing description)
> Configurations on connection url for jdbc2 is not working
> ---------------------------------------------------------
>
> Key: HIVE-4354
> URL: https://issues.apache.org/jira/browse/HIVE-4354
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Reporter: Navis
> Assignee: Navis
> Priority: Trivial
> Attachments: HIVE-4354.D10239.1.patch
>
>
> In jdbc2 connection url, query part is for hiveConf and fragment part is for
> session var. But it's not working.
> {noformat}
> beeline> !connect jdbc:hive2://localhost:10000#var1=value1;var2=value2 scott
> tiger
> scan complete in 2ms
> Connecting to jdbc:hive2://localhost:10000#var1=value1;var2=value2
> Connected to: Hive (version 0.10.0)
> Driver: Hive (version 0.11.0-SNAPSHOT)
> Transaction isolation: TRANSACTION_REPEATABLE_READ
> 0: jdbc:hive2://localhost:10000#var1=value1> set var1;
> +--------------------+
> | set |
> +--------------------+
> | var1 is undefined |
> +--------------------+
> 1 row selected (0.245 seconds)
> {noformat}
--
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