Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3281

Alter table ignores table/partition not existing in semantic analysis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.10.0
    • None
    • Logging, Query Processor
    • None

    Description

      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.

      Attachments

        Activity

          People

            kevinwilfong Kevin Wilfong
            kevinwilfong Kevin Wilfong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: