[
https://issues.apache.org/jira/browse/HIVE-27930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Butao Zhang resolved HIVE-27930.
--------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Merged to master!
Thanks [~kiranvelumuri] for the contribution! and [~Indhumathi27] review!
> Insert/Load overwrite table partition does not clean up directory before
> overwriting
> ------------------------------------------------------------------------------------
>
> Key: HIVE-27930
> URL: https://issues.apache.org/jira/browse/HIVE-27930
> Project: Hive
> Issue Type: Bug
> Affects Versions: 4.0.0-beta-1
> Reporter: Kiran Velumuri
> Assignee: Kiran Velumuri
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)