This is an automated email from the ASF dual-hosted git repository.

sivabalan pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 80c2f59190 [DOCS] add description about clean policy based on hours 
(#6215)
80c2f59190 is described below

commit 80c2f591908680b8cb1d7c2f815a37840af1ee15
Author: feiyang_deepnova <[email protected]>
AuthorDate: Fri Aug 5 09:50:48 2022 +0800

    [DOCS] add description about clean policy based on hours (#6215)
    
    Co-authored-by: linfey <[email protected]>
---
 website/versioned_docs/version-0.11.1/hoodie_cleaner.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/website/versioned_docs/version-0.11.1/hoodie_cleaner.md 
b/website/versioned_docs/version-0.11.1/hoodie_cleaner.md
index 10f1aa2450..34c1cf11d1 100644
--- a/website/versioned_docs/version-0.11.1/hoodie_cleaner.md
+++ b/website/versioned_docs/version-0.11.1/hoodie_cleaner.md
@@ -23,6 +23,9 @@ disk for at least 5 hours, thereby preventing the longest 
running query from fai
 This policy is useful when it is known how many MAX versions of the file does 
one want to keep at any given time. 
 To achieve the same behaviour as before of preventing long running queries 
from failing, one should do their calculations 
 based on data patterns. Alternatively, this policy is also useful if a user 
just wants to maintain 1 latest version of the file.
+- **KEEP_LATEST_BY_HOURS**: This policy clean up based on hours.It is simple 
and useful when knowing that you want to keep files at any given time.
+  Corresponding to commits with commit times older than the configured number 
of hours to be retained are cleaned.
+  Currently you can configure by parameter 'hoodie.cleaner.hours.retained'.
 
 ### Configurations
 For details about all possible configurations and their default values see the 
[configuration 
docs](https://hudi.apache.org/docs/configurations#Compaction-Configs).

Reply via email to