[ 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.2.patch navis updated the revision "HIVE-4354 [jira] Configurations on connection url for jdbc2 is not working". Rebased to trunk Reviewers: JIRA REVISION DETAIL https://reviews.facebook.net/D10239 CHANGE SINCE LAST DIFF https://reviews.facebook.net/D10239?vs=32013&id=39753#toc 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 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, HIVE-4354.D10239.2.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