[ https://issues.apache.org/jira/browse/HIVE-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914167#comment-13914167 ]
Jin Adachi commented on HIVE-2564: ---------------------------------- HIVE-4256 supports only HiveServer2, isn't it? This patch supports HiveServer1 and 2. > Set dbname at JDBC URL or properties > ------------------------------------ > > Key: HIVE-2564 > URL: https://issues.apache.org/jira/browse/HIVE-2564 > Project: Hive > Issue Type: Improvement > Components: JDBC > Affects Versions: 0.7.1, 0.12.0 > Reporter: Shinsuke Sugaya > Priority: Critical > Labels: patch > Attachments: HIVE-2564.1.patch, HIVE-2564.2.patch, HIVE-2564.3.patch, > hive-2564.patch > > > The current Hive implementation ignores a database name at JDBC URL, > though we can set it by executing "use <DBNAME>" statement. > I think it is better to also specify a database name at JDBC URL or database > properties. > Therefore, I'll attach the patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)