hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9578) Add support for getDatabases and alterDatabase calls [hbase-metastore branch]
Date Mon, 09 Feb 2015 20:00:36 GMT

    [ https://issues.apache.org/jira/browse/HIVE-9578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312759#comment-14312759
] 

Alan Gates commented on HIVE-9578:
----------------------------------

The only place that calls alterDatabase is DDLTask.alterDatabase, which first calls getDatabase.
 So I say we make it explicit in the contract in RawStore that this assumes the caller has
already checked for the existence of the db and then not do a get.  Otherwise we're almost
guaranteed to double fetch the db.

> Add support for getDatabases and alterDatabase calls [hbase-metastore branch]
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-9578
>                 URL: https://issues.apache.org/jira/browse/HIVE-9578
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-9578.patch
>
>
> The initial patch only supporting getting a single database, add database, and drop database.
 Support needs to be added for alter database, getting all the databases, and getting database
names by pattern.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message