diff --git a/docs/content/append-table/incremental-clustering.md b/docs/content/append-table/incremental-clustering.md
index aa72a348fce5..0ca3462e1682 100644
--- a/docs/content/append-table/incremental-clustering.md
+++ b/docs/content/append-table/incremental-clustering.md
@@ -164,6 +164,43 @@ You can use `-D execution.runtime-mode=batch` or `-yD execution.runtime-mode=bat
{{< /tabs >}}
+## Auto-Clustering For Historical Partition
+While performing incremental clustering on recently active partitions, Paimon can automatically detect historical and
+inactive partitions and evaluate whether their data layout has reached an optimal state.
+For those historical partitions that have not yet achieved optimal layout, Paimon will also perform full clustering on them
+during the same operation, thereby improving their query performance.
+
+To enable auto-clustering for historical partitions, the following configuration needs to be set for the table:
+
+
+
+ | Option |
+ Value |
+ Required |
+ Type |
+ Description |
+
+
+
+
+ clustering.history-partition.idle-to-full-sort |
+ 3d |
+ Yes |
+ Duration |
+ The duration after which a partition without new updates is considered a historical partition. Default is null. |
+
+
+ clustering.history-partition.limit |
+ 5 |
+ Yes |
+ Integer |
+ The limit of history partition number for automatically performing full clustering. Default value is 5. |
+
+
+
+
+
+
## Implement
To balance write amplification and sorting effectiveness, Paimon leverages the LSM Tree notion of levels to stratify data files
and uses the Universal Compaction strategy to select files for clustering.
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html
index d26fa9b59d1f..7f7bb6816d92 100644
--- a/docs/layouts/shortcodes/generated/core_configuration.html
+++ b/docs/layouts/shortcodes/generated/core_configuration.html
@@ -168,7 +168,7 @@
clustering.history-partition.idle-to-full-sort |
(none) |
Duration |
- The duration after which a partition without new updates is considered a historical partition. Historical partitions will be automatically fully clustered during the cluster operation.This option takes effects when 'clustering.history-partition.auto.enabled' is true. |
+ The duration after which a partition without new updates is considered a historical partition. Historical partitions will be automatically fully clustered during the cluster operation. |
clustering.history-partition.limit |
diff --git a/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java b/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
index f5c90b41969d..86800170275c 100644
--- a/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
+++ b/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
@@ -1970,8 +1970,7 @@ public InlineElement getDescription() {
.noDefaultValue()
.withDescription(
"The duration after which a partition without new updates is considered a historical partition. "
- + "Historical partitions will be automatically fully clustered during the cluster operation."
- + "This option takes effects when 'clustering.history-partition.auto.enabled' is true.");
+ + "Historical partitions will be automatically fully clustered during the cluster operation.");
public static final ConfigOption ROW_TRACKING_ENABLED =
key("row-tracking.enabled")