This is an automated email from the ASF dual-hosted git repository. lzljs3620320 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/paimon.git
commit 8aaf656ea175fd2aa12073b22dbcac2c2e382d61 Author: Jingsong <[email protected]> AuthorDate: Tue Jul 2 12:09:50 2024 +0800 [doc] Move manage partition to flink --- docs/content/flink/cdc-ingestion/_index.md | 2 +- .../manage-partition.md => flink/expire-partition.md} | 8 ++++---- docs/content/flink/sql-ddl.md | 2 +- docs/content/spark/sql-ddl.md | 4 ---- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/content/flink/cdc-ingestion/_index.md b/docs/content/flink/cdc-ingestion/_index.md index 1bb5fe7da..0c76825b0 100644 --- a/docs/content/flink/cdc-ingestion/_index.md +++ b/docs/content/flink/cdc-ingestion/_index.md @@ -1,7 +1,7 @@ --- title: CDC Ingestion bookCollapseSection: true -weight: 96 +weight: 95 --- <!-- Licensed to the Apache Software Foundation (ASF) under one diff --git a/docs/content/maintenance/manage-partition.md b/docs/content/flink/expire-partition.md similarity index 97% rename from docs/content/maintenance/manage-partition.md rename to docs/content/flink/expire-partition.md index a0359a4f2..fd0ae91eb 100644 --- a/docs/content/maintenance/manage-partition.md +++ b/docs/content/flink/expire-partition.md @@ -1,9 +1,9 @@ --- -title: "Manage Partition" -weight: 5 +title: "Expire Partition" +weight: 96 type: docs aliases: -- /maintenance/manage-partition.html +- /flink/expire-partition.html --- <!-- Licensed to the Apache Software Foundation (ASF) under one @@ -26,7 +26,7 @@ under the License. ## Expiring Partitions -You can set `partition.expiration-time` when creating a partitioned table. Paimon will periodically check +You can set `partition.expiration-time` when creating a partitioned table. Paimon streaming sink will periodically check the status of partitions and delete expired partitions according to time. How to determine whether a partition has expired: compare the time extracted from the partition with the current diff --git a/docs/content/flink/sql-ddl.md b/docs/content/flink/sql-ddl.md index 3e6af04a8..6fcc3da3a 100644 --- a/docs/content/flink/sql-ddl.md +++ b/docs/content/flink/sql-ddl.md @@ -187,7 +187,7 @@ If you need cross partition upsert (primary keys not contain all partition field {{< /hint >}} {{< hint info >}} -By configuring [partition.expiration-time]({{< ref "maintenance/manage-partition" >}}), expired partitions can be automatically deleted. +By configuring [partition.expiration-time]({{< ref "flink/expire-partition" >}}), expired partitions can be automatically deleted. {{< /hint >}} ### Specify Statistics Mode diff --git a/docs/content/spark/sql-ddl.md b/docs/content/spark/sql-ddl.md index 182d94ad0..6900ea1b6 100644 --- a/docs/content/spark/sql-ddl.md +++ b/docs/content/spark/sql-ddl.md @@ -146,10 +146,6 @@ CREATE TABLE my_table ( ); ``` -{{< hint info >}} -By configuring [partition.expiration-time]({{< ref "maintenance/manage-partition" >}}), expired partitions can be automatically deleted. -{{< /hint >}} - ## Create Table As Select Table can be created and populated by the results of a query, for example, we have a sql like this: `CREATE TABLE table_b AS SELECT id, name FORM table_a`,
