hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7100) Users of hive should be able to specify skipTrash when dropping tables.
Date Thu, 19 Feb 2015 10:03:12 GMT

    [ https://issues.apache.org/jira/browse/HIVE-7100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327190#comment-14327190
] 

Lefty Leverenz commented on HIVE-7100:
--------------------------------------

Doc note:  This is documented in the wiki for DROP TABLE and ALTER TABLE DROP PARTITION.

* [Drop Table | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-DropTable]
* [Drop Partitions | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-DropPartitions]

I included DROP PARTITION based on deletePartitionData() in the patch -- please review my
changes and correct anything that's not right.  If it's okay, the TODOC14 label can be removed.

> Users of hive should be able to specify skipTrash when dropping tables.
> -----------------------------------------------------------------------
>
>                 Key: HIVE-7100
>                 URL: https://issues.apache.org/jira/browse/HIVE-7100
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Ravi Prakash
>            Assignee: david serafini
>              Labels: TODOC14
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7100.1.patch, HIVE-7100.10.patch, HIVE-7100.11.patch, HIVE-7100.2.patch,
HIVE-7100.3.patch, HIVE-7100.4.patch, HIVE-7100.5.patch, HIVE-7100.8.patch, HIVE-7100.9.patch,
HIVE-7100.patch
>
>
> Users of our clusters are often running up against their quota limits because of Hive
tables. When they drop tables, they have to then manually delete the files from HDFS using
skipTrash. This is cumbersome and unnecessary. We should enable users to skipTrash directly
when dropping tables.
> We should also be able to provide this functionality without polluting SQL syntax.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message