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 951d0dd52f [docs] Add missing document for procedures (#5057)
951d0dd52f is described below
commit 951d0dd52f539cdafd8edc129be1c26a4e698a22
Author: yangjf2019 <[email protected]>
AuthorDate: Wed Feb 12 22:24:26 2025 +0800
[docs] Add missing document for procedures (#5057)
---
docs/content/flink/procedures.md | 26 ++++++++++++++++++++++++++
docs/content/spark/procedures.md | 22 +++++++++++++++++++++-
2 files changed, 47 insertions(+), 1 deletion(-)
diff --git a/docs/content/flink/procedures.md b/docs/content/flink/procedures.md
index 8189aeaa96..67a4290fb9 100644
--- a/docs/content/flink/procedures.md
+++ b/docs/content/flink/procedures.md
@@ -655,5 +655,31 @@ All available procedures are listed below.
CALL sys.fast_forward(`table` => 'default.T', branch => 'branch1')
</td>
</tr>
+ <tr>
+ <td>refresh_object_table</td>
+ <td>
+ CALL sys.refresh_object_table('identifier')
+ </td>
+ <td>
+ To refresh_object_table a object table. Arguments:
+ <li>identifier: the target table identifier. Cannot be empty.</li>
+ </td>
+ <td>
+ CALL sys.refresh_object_table('default.T')
+ </td>
+ </tr>
+ <tr>
+ <td>compact_manifest</td>
+ <td>
+ CALL sys.compact_manifest(`table` => 'identifier')
+ </td>
+ <td>
+ To compact_manifest the manifests. Arguments:
+ <li>identifier: the target table identifier. Cannot be empty.</li>
+ </td>
+ <td>
+ CALL sys.compact_manifest(`table` => 'default.T')
+ </td>
+ </tr>
</tbody>
</table>
diff --git a/docs/content/spark/procedures.md b/docs/content/spark/procedures.md
index 66802ac28e..805778b980 100644
--- a/docs/content/spark/procedures.md
+++ b/docs/content/spark/procedures.md
@@ -372,5 +372,25 @@ This section introduce all available spark procedures
about paimon.
CALL sys.mark_partition_done(table => 'default.T', parititions =>
'day=2024-07-01;day=2024-07-02')
</td>
</tr>
- </tbody>
+ <tr>
+ <td>refresh_object_table</td>
+ <td>
+ To refresh_object_table a object table. Arguments:
+ <li>identifier: the target table identifier. Cannot be empty.</li>
+ </td>
+ <td>
+ CALL sys.refresh_object_table('default.T')
+ </td>
+ </tr>
+ <tr>
+ <td>compact_manifest</td>
+ <td>
+ To compact_manifest the manifests. Arguments:
+ <li>identifier: the target table identifier. Cannot be empty.</li>
+ </td>
+ <td>
+ CALL sys.compact_manifest(`table` => 'default.T')
+ </td>
+ </tr>
+ </tbody>
</table>