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

DROP DATABASE CASCADE does not drop non-native tables.

    XMLWordPrintableJSON

    Details

      Description

      The hive meta store client does not delete the non-native tables during the drop database <dbname> cascade operation. As a result even though the database is deleted the tables still exist. This is related to HCATALOG-144.

      A deeper look at the HiveMetaStoreClient's "dropDatabase" function, tells us that the function does not utilize the hive meta hooks of the tables in the database for dropping the non-native tables.

        Attachments

        1. Hive-2542.patch
          11 kB
          Vandana Ayyalasomayajula
        2. HIVE-2542.07.patch
          9 kB
          Vandana Ayyalasomayajula
        3. HIVE-2542.06.patch
          141 kB
          Vandana Ayyalasomayajula
        4. HIVE-2542.06.patch
          141 kB
          Vandana Ayyalasomayajula
        5. HIVE-2542.05.patch
          141 kB
          Vandana Ayyalasomayajula
        6. HIVE-2542.04.patch
          142 kB
          Vandana Ayyalasomayajula
        7. Hive-2542.03.patch
          7 kB
          Vandana Ayyalasomayajula

          Issue Links

            Activity

              People

              • Assignee:
                avandana Vandana Ayyalasomayajula
                Reporter:
                avandana Vandana Ayyalasomayajula
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: