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

Implement DROP {PARTITION, INDEX, TEMPORARY FUNCTION} 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: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Extend HIVE-1856 to support IF EXISTS for

      {DROP TABLE, VIEW}

      and ALTER TABLE DROP PARTITION

      • signal an error if the to-be-dropped entity doesn't exist and IF EXISTS isn't specified
      • this behavior can be disabled by setting hive.exec.drop.ignorenonexistent to true

        Attachments

        1. hive-1858.1.patch
          15 kB
          Marcel Kornacker

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: