You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Adam Kramer (JIRA)" <ji...@apache.org> on 2010/05/02 22:37:57 UTC

[jira] Commented: (HIVE-446) Implement TRUNCATE

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

Adam Kramer commented on HIVE-446:
----------------------------------

Another note: Sometimes I shut off hive.merge.mapfiles; because the extra mapreduce step really isn't worth it given that I'm effectively creating a temp table that I don't need to use again. The result is a lot of unnecessary inode usage, because I only need those inodes for one more query.

If I had this option, I would turn off hive.merge.mapfiles;, run my query, run the dependent query, and then truncate the first table to save inodes.

> Implement TRUNCATE
> ------------------
>
>                 Key: HIVE-446
>                 URL: https://issues.apache.org/jira/browse/HIVE-446
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Prasad Chakka
>             Fix For: 0.4.2
>
>
> truncate the data but leave the table and metadata intact.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.