[
https://issues.apache.org/jira/browse/HIVE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017580#comment-13017580
]
Adam Kramer commented on HIVE-446:
----------------------------------
One year later, I still want this feature.
Here's a spec:
TRUNCATE TABLE tablename;
...would delete all the data in it (simple hadoop dfs -rmr), OR drop all of the
partitions if it is a partitioned table (less simple).
TRUNCATE TABLE tablename PARTITION(ds='2011-01-01') would delete all the data
in the partition.
> Implement TRUNCATE
> ------------------
>
> Key: HIVE-446
> URL: https://issues.apache.org/jira/browse/HIVE-446
> Project: Hive
> Issue Type: New Feature
> Components: Query Processor
> Reporter: Prasad Chakka
>
> truncate the data but leave the table and metadata intact.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira