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

Drop database cascade fails when there are indexes on any tables

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: Indexing, Metastore
    • Labels:
      None
    • Hadoop Flags:
      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-7.patch
          68 kB
          Prasad Suresh Mujumdar
        2. HIVE-3563-6.patch
          82 kB
          Prasad Suresh Mujumdar
        3. HIVE-3563-4.patch
          80 kB
          Prasad Suresh Mujumdar
        4. HIVE-3563-3.patch
          80 kB
          Prasad Suresh Mujumdar

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: