zclllyybb commented on code in PR #3015:
URL: https://github.com/apache/doris-website/pull/3015#discussion_r2480198516


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/is-uuid.md:
##########
@@ -0,0 +1,86 @@
+---
+{
+    "title": "IS_UUID",
+    "language": "zh-CN"
+}
+---
+
+## 描述
+
+如果参数是一个有效的uuid,返回1。如果是一个无效的uuid,返回0。参数为NULL,则返回NULL。
+
+一个uuid被称为有效,即其长度正确且仅包含允许的字符(任意大小写的十六进制数字,以及可选的连字符和花括号)。可概括为以下三种格式之一:
+
+```text
+aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
+aaaaaaaabbbbccccddddeeeeeeeeeeee
+{aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee}
+```
+
+## 语法
+
+```sql
+IS_UUID ( <str> )
+```
+## 参数
+
+| 参数    | 说明           |
+|-------|--------------|
+| `<str>` | 一个字符串 |
+
+## 返回值
+
+`<str>` 为有效的uuid,返回1,否则返回0。
+
+特殊情况:
+- 如果参数为 NULL,返回 NULL
+
+## 示例
+
+```sql
+select is_uuid("88a06b4a-732c-48bd-9984-fecb81285cc1");
+```
+
+```sql

Review Comment:
   use `text` type for outputs



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to