[ https://issues.apache.org/jira/browse/HIVE-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079127#comment-13079127 ]
Jakob Homan commented on HIVE-2338: ----------------------------------- +1 with the nit that the comment about that code being reached only if the try-catch-finally isn't triggered isn't particularly helpful since it describes the obvious path through the code and won't be interesting once this patch goes in. > Alter table always throws an unhelpful error on failure > ------------------------------------------------------- > > Key: HIVE-2338 > URL: https://issues.apache.org/jira/browse/HIVE-2338 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Sohan Jain > Assignee: Sohan Jain > Priority: Minor > Attachments: HIVE-2338.1.patch > > > Every failure in an alter table function always return a MetaException. When > altering tables and catching exceptions, we throw a MetaException in the > "finally" part of a try-catch-finally block, which overrides any other > exceptions thrown. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira