You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "morningman (via GitHub)" <gi...@apache.org> on 2023/03/22 00:55:12 UTC

[GitHub] [doris] morningman commented on a diff in pull request #17964: [enhancement](UDF) The user defined functions support global ('show functions'/'show create') operation

morningman commented on code in PR #17964:
URL: https://github.com/apache/doris/pull/17964#discussion_r1143335834


##########
docs/zh-CN/docs/sql-manual/sql-reference/Show-Statements/SHOW-CREATE-FUNCTION.md:
##########
@@ -37,13 +37,14 @@ SHOW CREATE FUNCTION
 语法:
 
 ```sql
-SHOW CREATE FUNCTION function_name(arg_type [, ...]) [FROM db_name]];
+SHOW CREATE [GLOBAL] FUNCTION function_name(arg_type [, ...]) [FROM db_name]];
 ```
 
 说明:
-          1. `function_name`: 要展示的函数名称
-          2. `arg_type`: 要展示的函数的参数列表
-          3. 如果不指定 db_name,使用当前默认 db
+          1. `global`: 要展示的是全局函数
+          2. `function_name`: 要展示的函数名称
+          3. `arg_type`: 要展示的函数的参数列表
+          4. 如果不指定 db_name,使用当前默认 db

Review Comment:
   Add a entry to explain that "global" keyword is only available after v2.0



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org