From c3a83195f40ea33f07a447d4d39f98890e4a4334 Mon Sep 17 00:00:00 2001
From: Kerwin <37063904+zhuangchong@users.noreply.github.com>
Date: Tue, 12 Nov 2024 22:24:19 +0800
Subject: [PATCH] [doc] fix flink procedure document sql syntax error. (#4504)
---
docs/content/flink/procedures.md | 2 +-
docs/content/maintenance/manage-snapshots.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/content/flink/procedures.md b/docs/content/flink/procedures.md
index d55a8daddef6..7e669a89d43b 100644
--- a/docs/content/flink/procedures.md
+++ b/docs/content/flink/procedures.md
@@ -409,7 +409,7 @@ All available procedures are listed below.
expire_snapshots |
-- Use named argument
- CALL [catalog.]sys.reset_consumer(
+ CALL [catalog.]sys.expire_snapshots(
`table` => 'identifier',
retain_max => 'retain_max',
retain_min => 'retain_min',
diff --git a/docs/content/maintenance/manage-snapshots.md b/docs/content/maintenance/manage-snapshots.md
index eed0f72c08c2..721d5d0bafb2 100644
--- a/docs/content/maintenance/manage-snapshots.md
+++ b/docs/content/maintenance/manage-snapshots.md
@@ -308,9 +308,9 @@ submit a `remove_orphan_files` job to clean them:
{{< tab "Spark SQL/Flink SQL" >}}
```sql
-CALL sys.remove_orphan_files(`table` => "my_db.my_table", [older_than => "2023-10-31 12:00:00"])
+CALL sys.remove_orphan_files(`table` => 'my_db.my_table', [older_than => '2023-10-31 12:00:00'])
-CALL sys.remove_orphan_files(`table` => "my_db.*", [older_than => "2023-10-31 12:00:00"])
+CALL sys.remove_orphan_files(`table` => 'my_db.*', [older_than => '2023-10-31 12:00:00'])
```
{{< /tab >}}
|