This is an automated email from the ASF dual-hosted git repository.
hongshun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss.git
The following commit(s) were added to refs/heads/main by this push:
new 72e85bf6f [docs] Add documentation for alter table option
table.log.tiered.local-segments (#2733)
72e85bf6f is described below
commit 72e85bf6f70bed952c50c3bc97b67f4e37662ba9
Author: Hongshun Wang <[email protected]>
AuthorDate: Thu Feb 26 20:17:58 2026 +0800
[docs] Add documentation for alter table option
table.log.tiered.local-segments (#2733)
---
website/docs/engine-flink/ddl.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/website/docs/engine-flink/ddl.md b/website/docs/engine-flink/ddl.md
index 29330832e..978bf0a41 100644
--- a/website/docs/engine-flink/ddl.md
+++ b/website/docs/engine-flink/ddl.md
@@ -266,6 +266,7 @@ When using SET to modify [Storage
Options](engine-flink/options.md#storage-optio
- The following [Storage Options](engine-flink/options.md#storage-options):
- `table.datalake.enabled`: Enable or disable lakehouse storage for the
table.
- `table.datalake.freshness`: Set the data freshness for lakehouse storage.
+ - `table.log.tiered.local-segments`: Set the number of log segments to
retain locally when tiered storage is enabled.
```sql title="Flink SQL"
-- Enable lakehouse storage for the table
@@ -273,6 +274,9 @@ ALTER TABLE my_table SET ('table.datalake.enabled' =
'true');
-- Set the freshness to 5 minutes for lakehouse storage
ALTER TABLE my_table SET ('table.datalake.freshness' = '5min');
+
+-- Set the number of local segments to retain to 5
+ALTER TABLE my_table SET ('table.log.tiered.local-segments' = '5');
```
**Limits**