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

DROP TABLE IF EXISTS should not fail if a view of that name exists

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Query Processor
    • None
    • Reviewed

    Description

      We should match MySQL behavior on this. Likewise for DROP VIEW IF EXISTS when a table of that name exists.

      Note that without IF EXISTS, we still want the statement to fail when the existing object type does not match.

      Attachments

        1. HIVE-2133.1.patch
          73 kB
          John Sichi

        Activity

          People

            jvs John Sichi
            jvs John Sichi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: