diff --git a/docs/content/flink/procedures.md b/docs/content/flink/procedures.md index 02c45f0ad91b..2ef8f800febb 100644 --- a/docs/content/flink/procedures.md +++ b/docs/content/flink/procedures.md @@ -258,7 +258,7 @@ All available procedures are listed below.
  • table: the target table identifier. Cannot be empty.
  • 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.
  • timestamp_formatter: the formatter to format timestamp from string.
  • -
  • expire_strategy: the expiration strategy for partition expiration.
  • +
  • expire_strategy: specifies the expiration strategy for partition expiration, possible values: 'values-time' or 'update-time' , 'values-time' as default.
  • -- for Flink 1.18

    diff --git a/docs/content/spark/procedures.md b/docs/content/spark/procedures.md index 80e120740ea4..d9a744cdd66f 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.
  • table: the target table identifier. Cannot be empty.
  • 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.
  • timestamp_formatter: the formatter to format timestamp from string.
  • +
  • expire_strategy: specifies the expiration strategy for partition expiration, possible values: 'values-time' or 'update-time' , 'values-time' as default.
  • - CALL sys.expire_partitions(table => 'default.T', expiration_time => '1 d', timestamp_formatter => 'yyyy-MM-dd') + CALL sys.expire_partitions(table => 'default.T', expiration_time => '1 d', timestamp_formatter => 'yyyy-MM-dd', expire_strategy => 'values-time') create_tag