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

Insert/Load overwrite table partition does not clean up directory before overwriting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-beta-1
    • 4.0.0
    • None

    Description

      When insert/load overwrite table statement containing static partitions, the table directory is not cleaned for partitions not in metastore but exist in the filesystem. This happens in the following cases:

      1. External table with external.table.purge set to false: when partition is dropped from the table but partition files exist in the filesystem

      2. Files are manually added to a new partition in the file system

      Attachments

        Issue Links

          Activity

            People

              kiranvelumuri Kiran Velumuri
              kiranvelumuri Kiran Velumuri
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: