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

Implement DROP TABLE/VIEW ... IF EXISTS

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • Metastore, Query Processor
    • None
    • Reviewed
    • Backwards-compatible DROP behavior is controlled via new configuration parameter hive.exec.drop.ignorenonexistent

    Description

      This issue combines issues HIVE-1550/1165/1542/1551:

      • augment DROP TABLE/VIEW with IF EXISTS
      • signal an error if the table/view doesn't exist and IF EXISTS wasn't specified
      • introduce a flag in the configuration that allows you to turn off the new behavior

      Attachments

        1. hive-1856.patch
          8 kB
          Marcel Kinard
        2. hive-1856.patch
          9 kB
          Marcel Kinard

        Issue Links

          Activity

            People

              marcelk Marcel Kinard
              marcelk Marcel Kinard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: