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


The following commit(s) were added to refs/heads/master by this push:
     new f600cbf80 [doc] Complement expire_strategy possible values for 
procedures expire_partitions. (#3756)
f600cbf80 is described below

commit f600cbf80f5b0147a51c32690cb246739069453a
Author: HunterXHunter <[email protected]>
AuthorDate: Tue Jul 16 14:13:22 2024 +0800

    [doc] Complement expire_strategy possible values for procedures 
expire_partitions. (#3756)
---
 docs/content/flink/procedures.md | 2 +-
 docs/content/spark/procedures.md | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/content/flink/procedures.md b/docs/content/flink/procedures.md
index 02c45f0ad..2ef8f800f 100644
--- a/docs/content/flink/procedures.md
+++ b/docs/content/flink/procedures.md
@@ -258,7 +258,7 @@ All available procedures are listed below.
             <li>table: the target table identifier. Cannot be empty.</li>
             <li>expiration_time: the expiration interval of a partition. A 
partition will be expired if it‘s lifetime is over this value. Partition time 
is extracted from the partition value.</li>
             <li>timestamp_formatter: the formatter to format timestamp from 
string.</li>
-            <li>expire_strategy: the expiration strategy for partition 
expiration.</li>
+            <li>expire_strategy: specifies the expiration strategy for 
partition expiration, possible values: 'values-time' or 'update-time' , 
'values-time' as default.</li>
       </td>
       <td>
          -- for Flink 1.18<br/><br/>
diff --git a/docs/content/spark/procedures.md b/docs/content/spark/procedures.md
index 80e120740..d9a744cdd 100644
--- a/docs/content/spark/procedures.md
+++ b/docs/content/spark/procedures.md
@@ -73,8 +73,9 @@ This section introduce all available spark procedures about 
paimon.
             <li>table: the target table identifier. Cannot be empty.</li>
             <li>expiration_time: the expiration interval of a partition. A 
partition will be expired if it‘s lifetime is over this value. Partition time 
is extracted from the partition value.</li>
             <li>timestamp_formatter: the formatter to format timestamp from 
string.</li>
+            <li>expire_strategy: specifies the expiration strategy for 
partition expiration, possible values: 'values-time' or 'update-time' , 
'values-time' as default.</li>
       </td>
-      <td>CALL sys.expire_partitions(table => 'default.T', expiration_time => 
'1 d', timestamp_formatter => 'yyyy-MM-dd')</td>
+      <td>CALL sys.expire_partitions(table => 'default.T', expiration_time => 
'1 d', timestamp_formatter => 'yyyy-MM-dd', expire_strategy => 
'values-time')</td>
     </tr>
     <tr>
       <td>create_tag</td>

Reply via email to