You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2014/05/11 00:10:32 UTC
[jira] [Commented] (HIVE-7025) TTL on hive tables
[ https://issues.apache.org/jira/browse/HIVE-7025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13992808#comment-13992808 ]
Edward Capriolo commented on HIVE-7025:
---------------------------------------
We do something similar however we also have the ability to delete partitions over a certain age. Hive already has a property inside every table called "retention" that we could consider using.
This code is a good first step but I have one question. Isn't this code rather racey? If we have multiple CLIs running threads they could all be simultaneously deleting tables, and a CLI with a system with a misconfiguration clock could potentially delete all the tables. I think if we do this it should be a stand alone piece.
> TTL on hive tables
> ------------------
>
> Key: HIVE-7025
> URL: https://issues.apache.org/jira/browse/HIVE-7025
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Reporter: Navis
> Assignee: Navis
> Priority: Minor
> Attachments: HIVE-7025.1.patch.txt
>
>
> Add self destruction properties for temporary tables.
--
This message was sent by Atlassian JIRA
(v6.2#6252)