[
https://issues.apache.org/jira/browse/HIVE-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658065#action_12658065
]
Johan Oskarsson commented on HIVE-182:
--------------------------------------
I'd rather let someone else make those changes in a different ticket. Once this
patch is in it can be done bit by bit and eventually remove the old methods.
I'll update the patch by deprecating the old methods are to indicate that they
shouldn't be used.
I agree with the idea though, sounds like a good chance for a cleanup.
The reasons I'd rather not go down that path myself are fairly selfish since I
depend on getting this patch in for further work, in order to get HIVE-142 done
so I can continue work on HIVE-91, right now I seem to get further from my goal
instead of closer :)
> 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
> Reporter: Johan Oskarsson
> Assignee: Johan Oskarsson
> Priority: Trivial
> Fix For: 0.2.0
>
> Attachments: HIVE-182.patch, 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.