hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (HIVE-23467) Add a skip.trash config for HMS to skip trash when deleting external table data
Date Wed, 17 Jun 2020 05:42:00 GMT


ASF GitHub Bot logged work on HIVE-23467:

                Author: ASF GitHub Bot
            Created on: 17/Jun/20 05:41
            Start Date: 17/Jun/20 05:41
    Worklog Time Spent: 10m 
      Work Description: hsnusonic opened a new pull request #1133:

   …ng external table data

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

Issue Time Tracking

            Worklog Id:     (was: 447076)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add a skip.trash config for HMS to skip trash when deleting external table data
> -------------------------------------------------------------------------------
>                 Key: HIVE-23467
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>            Reporter: Sam An
>            Assignee: Yu-Wen Lai
>            Priority: Trivial
>          Time Spent: 10m
>  Remaining Estimate: 0h
> We have an auto.purge flag, which means skip trash. It can be confusing as we have 'external.table.purge'='true'
to indicate delete table data when this tblproperties is set. 
> We should make the meaning clearer by introducing a skip trash alias/option. 
> Additionally, we shall add an alias for external.table.purge, and name it external.table.autodelete,
and document it more prominently, so as to maintain backward compatibility, and make the meaning
of auto deletion of data more obvious. 
> The net effect of these 2 changes will be. If the user sets 
> 'external.table.autodelete'='true'
> the table data will be removed when table is dropped. and if 
> 'skip.trash'='true' 
> is set, HMS will not move the table data to trash folder when removing the files. This
will result in faster removal, especially when underlying FS is S3. 

This message was sent by Atlassian Jira

View raw message