eldenmoon commented on code in PR #2845:
URL: https://github.com/apache/doris-website/pull/2845#discussion_r2324372548


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/array-functions/countequal.md:
##########
@@ -5,37 +5,40 @@
 }
 ---
 
-## 描述
+## 功能
 
-判断数组中包含 value 元素的个数
+统计数组中与指定目标值相等的元素个数。
 
 ## 语法
 
-```sql
-COUNTEQUAL(<arr>, <value>)
-```
+- `COUNTEQUAL(arr, target)`
 
 ## 参数
 
-| 参数 | 说明   |
-|--|------|
-| `<arr>` | 输入数组 |
-| `<value>` | 判断元素 |
+- `arr`:`ARRAY<T>`,支持的元素类型包括:数值、布尔、字符串、日期时间、IP。
+- `target`:与 `arr` 元素类型一致。
 
 ## 返回值
 
-返回判断的结果如下:num:value 在 array 中的数量;0:value 不存在数组 arr 中;NULL:如果数组为 NULL。
+- 返回 `BIGINT`,表示相等的元素个数。
 
-## 举例
+## 使用说明
+
+- 两端都是 `NULL` 视为相等,会被计数。

Review Comment:
   没看到counteqaul(NULL, NULL) ?



-- 
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