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

Implement DROP TABLE/VIEW ... IF EXISTS

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: Metastore, Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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 Kornacker
        2. hive-1856.patch
          9 kB
          Marcel Kornacker

          Issue Links

            Activity

              People

              • Assignee:
                marcelk Marcel Kornacker
                Reporter:
                marcelk Marcel Kornacker
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: