From 6cbb06c313ebafdac545564c50ffca2fed546d4d Mon Sep 17 00:00:00 2001 From: LinMingQiang <1356469429@qq.com> Date: Tue, 31 Dec 2024 09:34:28 +0800 Subject: [PATCH] [doc] Add a note to the delete branch operation to explain its behavior --- docs/content/maintenance/manage-branches.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/maintenance/manage-branches.md b/docs/content/maintenance/manage-branches.md index 2da92056a829..7b18583709c7 100644 --- a/docs/content/maintenance/manage-branches.md +++ b/docs/content/maintenance/manage-branches.md @@ -87,6 +87,10 @@ CALL sys.create_branch('default.T', 'empty_branch'); You can delete branch by its name. +{{< hint warning >}} +__Note:__ The `Delete Branches` operation only deletes the metadata file. If you want to clear the data written during the branch, use [remove_orphan_files]({{< ref "flink/procedures" >}}) +{{< /hint >}} + {{< tabs "delete-branches" >}} {{< tab "Flink SQL" >}}