[
https://issues.apache.org/jira/browse/HIVE-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oren Lederman updated HIVE-2320:
--------------------------------
Fix Version/s: 0.7.1
0.8.0
Status: Patch Available (was: Open)
> Implement setCatalog() and allow setting active database to a database other
> than "default"
> -------------------------------------------------------------------------------------------
>
> Key: HIVE-2320
> URL: https://issues.apache.org/jira/browse/HIVE-2320
> Project: Hive
> Issue Type: Sub-task
> Components: JDBC
> Affects Versions: 0.7.1
> Reporter: Oren Lederman
> Priority: Minor
> Labels: jdbc
> Fix For: 0.8.0, 0.7.1
>
> Attachments:
> HIVE-2320.Implement-setCatalog-and-allow-setting-active-database-to-a-database-other-than-default.1.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Currently, the JDBC driver always use "default" as the schema/database. We
> should allow setting the active schema to another schema.
> 1. implement the setCatalog() method
> 2. modify HiveConnection constructor to take the schema from the URL and call
> setCatalog
> 3. change configureConnection() and execute "use <schema>;" statement
> See https://issues.apache.org/jira/browse/HIVE-675
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira