Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19753 Strict managed tables mode in Hive
  3. HIVE-19981

Managed tables converted to external tables by the HiveStrictManagedMigration utility should be set to delete data when the table is dropped

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • None
    • None

    Description

      Using the HiveStrictManagedMigration utility, tables can be converted to conform to the Hive strict managed tables mode.
      For managed tables that are converted to external tables by the utility, these tables should keep the "drop data on delete" semantics they had when they were managed tables.

      One way to do this is to introduce a table property "external.table.purge", which if true (and if the table is an external table), will let Hive know to delete the table data when the table is dropped. This property will be set by the HiveStrictManagedMigration utility when managed tables are converted to external tables.

      Attachments

        1. HIVE-19981.1.patch
          42 kB
          Jason Dere

        Activity

          People

            jdere Jason Dere
            jdere Jason Dere
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: