[
https://issues.apache.org/jira/browse/HIVE-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-4354:
------------------------------
Attachment: HIVE-4354.D10239.1.patch
navis requested code review of "HIVE-4354 [jira] Configurations on connection
url for jdbc2 is not working".
Reviewers: JIRA
DPAL-2036 Configurations on connection url for jdbc2 is not working
In jdbc2 connection url, query part is for hiveConf and fragment part is for
session var. But it's not working.
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;
+--------------------+
+--------------------+
+--------------------+
1 row selected (0.245 seconds)
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D10239
AFFECTED FILES
jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java
jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java
service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java
service/src/java/org/apache/hive/service/cli/session/HiveSessionImplwithUGI.java
service/src/java/org/apache/hive/service/cli/session/SessionManager.java
service/src/java/org/apache/hive/service/cli/thrift/EmbeddedThriftCLIService.java
service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java
service/src/java/org/apache/hive/service/server/HiveServer2.java
service/src/test/org/apache/hive/service/cli/TestEmbeddedThriftCLIService.java
MANAGE HERALD RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/24477/
To: JIRA, navis
> 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