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

Drop database cascade fails when there are indexes on any tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • Indexing, Metastore
    • None
    • Reviewed

    Description

      Drop database cascade fails if any of the table has index.

      create database db2;
      use db2;

      create table tab1 (id int, name string);
      create index idx1 on table tab1(id) as 'COMPACT' with DEFERRED REBUILD;

      drop database db2 cascade;

      Attachments

        1. HIVE-3563-3.patch
          80 kB
          Prasad Suresh Mujumdar
        2. HIVE-3563-4.patch
          80 kB
          Prasad Suresh Mujumdar
        3. HIVE-3563-6.patch
          82 kB
          Prasad Suresh Mujumdar
        4. HIVE-3563-7.patch
          68 kB
          Prasad Suresh Mujumdar

        Issue Links

          Activity

            People

              prasadm Prasad Suresh Mujumdar
              prasadm Prasad Suresh Mujumdar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: