zclllyybb commented on code in PR #2910:
URL: https://github.com/apache/doris-website/pull/2910#discussion_r2374005068
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/make-set.md:
##########
@@ -0,0 +1,89 @@
+---
+{
+ "title": "LTRIM",
+ "language": "zh-CN"
+}
+---
+
+## 描述
+
+MAKE_SET 返回一个字符串集合,其中字符串间以 `,` 分隔。
+该集合由在 `bit` 中对应位为 1 的字符串组成:str1 对应位0, str2 对应位1,以此类推。str 中的 NULL 值不参与集合的组成。
+
+## 语法
+
+```sql
+MAKE_SET(<bit>, <str1>, <str2>...)
+```
+
+## 参数
+
+| 参数 | 说明
|
+|----------------|-----------------------------------------------------------------------------|
+| `<bit>` | 提供的 bit 值,代表要组合字符串的对应位置,大小限制为2^64 ~ 2^64-1(BIGINT) |
+| `<strs>` | 待组合的字符串
|
+
+## 返回值
+
+返回一个由 bit 中对应位为 1 的字符串集合,字符串之间以`,`分隔。
Review Comment:
说明类型。
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/make-set.md:
##########
@@ -0,0 +1,89 @@
+---
+{
+ "title": "LTRIM",
+ "language": "zh-CN"
+}
+---
+
+## 描述
+
+MAKE_SET 返回一个字符串集合,其中字符串间以 `,` 分隔。
+该集合由在 `bit` 中对应位为 1 的字符串组成:str1 对应位0, str2 对应位1,以此类推。str 中的 NULL 值不参与集合的组成。
Review Comment:
这个函数确实比较难理解,我觉得加个示意图或者对某个例子的详细拆解说明比较好。
##########
docs/sql-manual/sql-functions/scalar-functions/string-functions/make-set.md:
##########
@@ -0,0 +1,89 @@
+---
+{
+ "title": "MAKE_SET",
+ "language": "en-US"
Review Comment:
```suggestion
"language": "en"
```
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/make-set.md:
##########
@@ -0,0 +1,89 @@
+---
+{
+ "title": "LTRIM",
+ "language": "zh-CN"
+}
+---
+
+## 描述
+
+MAKE_SET 返回一个字符串集合,其中字符串间以 `,` 分隔。
+该集合由在 `bit` 中对应位为 1 的字符串组成:str1 对应位0, str2 对应位1,以此类推。str 中的 NULL 值不参与集合的组成。
+
Review Comment:
加个说明,link到mysql的对应文档,说明我们和mysql的xxx行为一致
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/make-set.md:
##########
@@ -0,0 +1,89 @@
+---
+{
+ "title": "LTRIM",
+ "language": "zh-CN"
+}
+---
+
+## 描述
+
+MAKE_SET 返回一个字符串集合,其中字符串间以 `,` 分隔。
+该集合由在 `bit` 中对应位为 1 的字符串组成:str1 对应位0, str2 对应位1,以此类推。str 中的 NULL 值不参与集合的组成。
+
+## 语法
+
+```sql
+MAKE_SET(<bit>, <str1>, <str2>...)
+```
+
+## 参数
+
+| 参数 | 说明
|
+|----------------|-----------------------------------------------------------------------------|
+| `<bit>` | 提供的 bit 值,代表要组合字符串的对应位置,大小限制为2^64 ~ 2^64-1(BIGINT) |
Review Comment:
参数都要说明类型
--
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]