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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: