hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Oskarsson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-182) Add database name parameter to getTable and dropTable in Hive.java
Date Wed, 17 Dec 2008 11:18:44 GMT

     [ https://issues.apache.org/jira/browse/HIVE-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Johan Oskarsson updated HIVE-182:
---------------------------------

    Attachment: HIVE-182.patch

Added the methods where one can specify the database to perform getTable or dropTable on.
Adapted one of the unit tests to exercise the new methods. 

> Add database name parameter to getTable and dropTable in Hive.java
> ------------------------------------------------------------------
>
>                 Key: HIVE-182
>                 URL: https://issues.apache.org/jira/browse/HIVE-182
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.19.0
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Trivial
>             Fix For: 0.19.0
>
>         Attachments: HIVE-182.patch
>
>
> Currently the methods in the Hive class in the ql module look like this:
> public void dropTable(String tableName) throws HiveException
> public Table getTable(final String tableName) throws HiveException
> I'd like to be able to specify the database for the tests in HIVE-142 so I propose adding:
> public void dropTable(String dbName, String tableName) throws HiveException
> public Table getTable(final String dbName, final String tableName) throws HiveException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message