This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 1fea756c4a3 [fix](doc) add missing FUNCTION keyword to zh DROP 
FUNCTION syntax (#3728)
1fea756c4a3 is described below

commit 1fea756c4a3f07ab6546a16cd16d99486cdf2fa5
Author: boluor <[email protected]>
AuthorDate: Thu May 21 22:36:40 2026 -0700

    [fix](doc) add missing FUNCTION keyword to zh DROP FUNCTION syntax (#3728)
    
    ## Summary
    
    The Chinese `DROP FUNCTION` statement pages document the syntax as:
    
    ```
    DROP [ GLOBAL ] <function_name> ( <arg_type> )
    ```
    
    This drops the required `FUNCTION` keyword. The actual statement — and
    the English version of the same page — is:
    
    ```
    DROP [ GLOBAL ] FUNCTION <function_name> ( <arg_type> )
    ```
    
    Corrected the zh-CN current / 2.1 / 3.x / 4.x pages so they match the
    real syntax and the English docs.
    
    Reported in #3263.
    
    ## Test plan
    
    - [x] Confirmed all 4 English `DROP-FUNCTION.md` pages already use the
    correct `DROP [ GLOBAL ] FUNCTION ...` form.
    - [x] Confirmed all 4 zh-CN pages were missing the keyword and now
    match.
    - [ ] CI build.
    
    Closes #3263
    
    Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
---
 .../current/sql-manual/sql-statements/function/DROP-FUNCTION.md         | 2 +-
 .../version-2.1/sql-manual/sql-statements/function/DROP-FUNCTION.md     | 2 +-
 .../version-3.x/sql-manual/sql-statements/function/DROP-FUNCTION.md     | 2 +-
 .../version-4.x/sql-manual/sql-statements/function/DROP-FUNCTION.md     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/function/DROP-FUNCTION.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/function/DROP-FUNCTION.md
index 7afe054d3a1..adf49df4c41 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/function/DROP-FUNCTION.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/function/DROP-FUNCTION.md
@@ -13,7 +13,7 @@
 ## 语法
 
 ```sql
-DROP [ GLOBAL ] <function_name> ( <arg_type> )
+DROP [ GLOBAL ] FUNCTION <function_name> ( <arg_type> )
 ```
 
 ## 必选参数
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/function/DROP-FUNCTION.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/function/DROP-FUNCTION.md
index e25c19cdaa8..66bd7b4a363 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/function/DROP-FUNCTION.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/function/DROP-FUNCTION.md
@@ -13,7 +13,7 @@
 ## 语法
 
 ```sql
-DROP [ GLOBAL ] <function_name> ( <arg_type> )
+DROP [ GLOBAL ] FUNCTION <function_name> ( <arg_type> )
 ```
 
 ## 必选参数
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/function/DROP-FUNCTION.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/function/DROP-FUNCTION.md
index e25c19cdaa8..66bd7b4a363 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/function/DROP-FUNCTION.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/function/DROP-FUNCTION.md
@@ -13,7 +13,7 @@
 ## 语法
 
 ```sql
-DROP [ GLOBAL ] <function_name> ( <arg_type> )
+DROP [ GLOBAL ] FUNCTION <function_name> ( <arg_type> )
 ```
 
 ## 必选参数
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/function/DROP-FUNCTION.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/function/DROP-FUNCTION.md
index 7afe054d3a1..adf49df4c41 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/function/DROP-FUNCTION.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/function/DROP-FUNCTION.md
@@ -13,7 +13,7 @@
 ## 语法
 
 ```sql
-DROP [ GLOBAL ] <function_name> ( <arg_type> )
+DROP [ GLOBAL ] FUNCTION <function_name> ( <arg_type> )
 ```
 
 ## 必选参数


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to