[
https://issues.apache.org/jira/browse/HIVE-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135708#comment-13135708
]
Ashutosh Chauhan commented on HIVE-2510:
----------------------------------------
It would be better to check for table existence and db existence together in
CTAS within analyzeCreateTable(). Its little awkward that we check for table
existence first and db existence later. But, I don't you want you to force into
doing another patch. Will leave it upto committers. Otherwise, looks good to
me.
> Hive throws Null Pointer Exception upon CREATE TABLE <db_name>.<table_name>
> .... if the given <db_name> doesn't exist
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-2510
> URL: https://issues.apache.org/jira/browse/HIVE-2510
> Project: Hive
> Issue Type: Bug
> Reporter: Robert Surówka
> Assignee: Robert Surówka
> Priority: Trivial
> Attachments: HIVE-2510.1.patch, HIVE-2510.2.patch, HIVE-2510.3.patch,
> HIVE-2510.4.patch, HIVE-2510.5.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira