[ 
https://issues.apache.org/jira/browse/HIVE-25111?focusedWorklogId=596187&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-596187
 ]

ASF GitHub Bot logged work on HIVE-25111:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/May/21 15:08
            Start Date: 13/May/21 15:08
    Worklog Time Spent: 10m 
      Work Description: belugabehr commented on a change in pull request #2269:
URL: https://github.com/apache/hive/pull/2269#discussion_r631883645



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java
##########
@@ -160,10 +160,11 @@
    * @param catName name of the catalog to alter.
    * @param cat new version of the catalog.
    * @throws MetaException something went wrong, usually in the database.
+   * @throws NoSuchObjectException no catalog of this name exists.
    * @throws InvalidOperationException attempt to change something about the 
catalog that is not
    * changeable, like the name.
    */
-  void alterCatalog(String catName, Catalog cat) throws MetaException, 
InvalidOperationException;
+  void alterCatalog(String catName, Catalog cat) throws MetaException, 
NoSuchObjectException, InvalidOperationException;

Review comment:
       This should also throw NoSuchObjectException if user is attempting to 
alter a non-existing catalog




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 596187)
    Time Spent: 0.5h  (was: 20m)

> Metastore Catalog Methods JDO Persistence
> -----------------------------------------
>
>                 Key: HIVE-25111
>                 URL: https://issues.apache.org/jira/browse/HIVE-25111
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to