[
https://issues.apache.org/jira/browse/HIVE-20034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16527337#comment-16527337
]
Peter Vary commented on HIVE-20034:
-----------------------------------
This line is caused the change in exceptions:
[https://github.com/apache/hive/commit/99cb7c005d51c693089cc4144f8e8c40bce8c424#diff-3d07754b1de8dc5a50a3395b7d6f9045R3567]
{code:java}
this.dbName = (dbName != null) ? normalizeIdentifier(dbName) : null;{code}
The line above works for {{null}} dbName too, so we throw
{{NoSuchObjectException}}, whereas previously the {{NullPointerException}} was
thrown
> Roll back MetaStore exception handling changes for backward compatibility
> -------------------------------------------------------------------------
>
> Key: HIVE-20034
> URL: https://issues.apache.org/jira/browse/HIVE-20034
> Project: Hive
> Issue Type: Bug
> Reporter: Peter Vary
> Assignee: Peter Vary
> Priority: Minor
> Attachments: HIVE-20034.patch
>
>
> HIVE-19418 changed thrown exceptions by HiveMetaStoreClient.createTable,
> alterTable method.
> For backward compatibility we should revert these changes
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)