You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kevin Wilfong (JIRA)" <ji...@apache.org> on 2012/07/20 01:03:33 UTC

[jira] [Created] (HIVE-3281) Alter table ignores table/partition not existing in semantic analysis

Kevin Wilfong created HIVE-3281:
-----------------------------------

             Summary: Alter table ignores table/partition not existing in semantic analysis
                 Key: HIVE-3281
                 URL: https://issues.apache.org/jira/browse/HIVE-3281
             Project: Hive
          Issue Type: Bug
          Components: Logging, Query Processor
    Affects Versions: 0.10.0
            Reporter: Kevin Wilfong
            Assignee: Kevin Wilfong
            Priority: Minor


In the method addInputsOutputsAlterTable in the DDLSemanticAnalyzer we get the table and partition being altered from the metastore.  Failures to get these are quietly ignored, even though they resurface during query execution.  We can throw a semantic exception here instead of ignoring them and save some time/resources.  Also, by doing it here we save on retrieving the table/partition from the metastore since we're doing it here already.

--
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