This is an automated email from the ASF dual-hosted git repository.
yuxia pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss-rust.git
The following commit(s) were added to refs/heads/main by this push:
new c17d224 chore: add notes on lake snapshot (#359)
c17d224 is described below
commit c17d22443818562776b1aee74d752012aca1a456
Author: Keith Lee <[email protected]>
AuthorDate: Sun Feb 22 02:57:48 2026 +0000
chore: add notes on lake snapshot (#359)
---
website/docs/user-guide/cpp/example/admin-operations.md | 4 ++++
website/docs/user-guide/python/example/admin-operations.md | 4 ++++
website/docs/user-guide/rust/example/admin-operations.md | 4 ++++
3 files changed, 12 insertions(+)
diff --git a/website/docs/user-guide/cpp/example/admin-operations.md
b/website/docs/user-guide/cpp/example/admin-operations.md
index 850660e..0f08549 100644
--- a/website/docs/user-guide/cpp/example/admin-operations.md
+++ b/website/docs/user-guide/cpp/example/admin-operations.md
@@ -142,6 +142,10 @@ admin.ListPartitionOffsets(table_path, "partition_name",
## Lake Snapshot
+:::note
+Lake snapshots require [lake
integration](https://fluss.apache.org/docs/maintenance/tiered-storage/overview/)
(e.g. Paimon or Iceberg) to be enabled on the server. Without it,
`GetLatestLakeSnapshot` will return an error.
+:::
+
```cpp
fluss::LakeSnapshot snapshot;
admin.GetLatestLakeSnapshot(table_path, snapshot);
diff --git a/website/docs/user-guide/python/example/admin-operations.md
b/website/docs/user-guide/python/example/admin-operations.md
index 4561a3f..ba3748a 100644
--- a/website/docs/user-guide/python/example/admin-operations.md
+++ b/website/docs/user-guide/python/example/admin-operations.md
@@ -67,6 +67,10 @@ offsets = await admin.list_partition_offsets(table_path,
partition_name="US", bu
## Lake Snapshot
+:::note
+Lake snapshots require [lake
integration](https://fluss.apache.org/docs/maintenance/tiered-storage/overview/)
(e.g. Paimon or Iceberg) to be enabled on the server. Without it,
`get_latest_lake_snapshot` will raise an error.
+:::
+
```python
snapshot = await admin.get_latest_lake_snapshot(table_path)
print(f"Snapshot ID: {snapshot.snapshot_id}")
diff --git a/website/docs/user-guide/rust/example/admin-operations.md
b/website/docs/user-guide/rust/example/admin-operations.md
index 7fcc401..d18ad0e 100644
--- a/website/docs/user-guide/rust/example/admin-operations.md
+++ b/website/docs/user-guide/rust/example/admin-operations.md
@@ -112,6 +112,10 @@ let partition_offsets = admin.list_partition_offsets(
## Lake Snapshot
+:::note
+Lake snapshots require [lake
integration](https://fluss.apache.org/docs/maintenance/tiered-storage/overview/)
(e.g. Paimon or Iceberg) to be enabled on the server. Without it,
`get_latest_lake_snapshot` will return an error.
+:::
+
```rust
let snapshot = admin.get_latest_lake_snapshot(&table_path).await?;
println!("Snapshot ID: {}", snapshot.snapshot_id);