You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/08/18 04:46:18 UTC

[jira] [Commented] (HIVE-6319) Insert, update, delete functionality needs a compactor

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

Lefty Leverenz commented on HIVE-6319:
--------------------------------------

Doc question for [~alangates]:  What is the syntax for setting table property NO_AUTO_COMPACTION?

The Transactions wikidoc just says:  "If a table owner does not wish the system to automatically determine when to compact, then the table property NO_AUTO_COMPACTION can be set.  This will prevent all automatic compactions."

I'd like to include it in the notes about TBLPROPERTIES in the DDL doc, but it doesn't resemble the other examples which are lowercase and use dots instead of underscores.  For example, ("hbase.table.name"="table_name"), ("immutable"="true"), and ("orc.compress"="NONE").  I couldn't figure it out from the patch.

* [Hive Transactions -- Table Properties | https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-TableProperties]
* [DDL -- Create Table (see bullet list after the syntax) | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTable]

> Insert, update, delete functionality needs a compactor
> ------------------------------------------------------
>
>                 Key: HIVE-6319
>                 URL: https://issues.apache.org/jira/browse/HIVE-6319
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.13.0
>
>         Attachments: 6319.wip.patch, HIVE-6319.patch, HIVE-6319.patch, HIVE-6319.patch, HIVE-6319.patch, HIVE-6319.patch, HiveCompactorDesign.pdf
>
>
> In order to keep the number of delta files from spiraling out of control we need a compactor to collect these delta files together, and eventually rewrite the base file when the deltas get large enough.



--
This message was sent by Atlassian JIRA
(v6.2#6252)