[ 
https://issues.apache.org/jira/browse/HIVE-27930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kiran Velumuri updated HIVE-27930:
----------------------------------
    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

  was:When insert/load overwrite table statement contains static partitions, 
the table directory is not cleaned for partitions not in metastore but exist in 
the filesystem. This happens when partition is dropped from the table but 
partition files exist in the filesystem or partition files are manually added 
in the filesystem.


> 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
>
> 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)

Reply via email to