MonsterChenzhuo commented on a change in pull request #17789:
URL: https://github.com/apache/flink/pull/17789#discussion_r753662712
##########
File path: docs/data/sql_functions_zh.yml
##########
@@ -956,13 +940,11 @@ json:
- sql: JSON_ARRAYAGG(items [ { NULL | ABSENT } ON NULL ])
table: jsonArrayAgg(JsonOnNull, itemExpression)
description: |
- Builds a JSON object string by aggregating items into an array.
+ 通过将字段聚合到数组中构建JSON对象字符串。
Review comment:
```suggestion
通过将字段聚合到数组中构建 JSON 对象字符串。
```
##########
File path: docs/data/sql_functions_zh.yml
##########
@@ -765,10 +764,9 @@ json:
- sql: JSON_STRING(value)
table: jsonString(value)
description: |
- Serializes a value into JSON.
+ 将值序列化为JSON。
- This function returns a JSON string containing the serialized value. If
the value is `NULL`,
- the function returns `NULL`.
+ 此函数返回一个包含序列化值的JSON字符串。如果值为 `NULL`,函数返回 `NULL`。
Review comment:
```suggestion
此函数返回一个包含序列化值的 JSON 字符串。如果值为 `NULL`,函数返回 `NULL`。
```
##########
File path: docs/data/sql_functions_zh.yml
##########
@@ -956,13 +940,11 @@ json:
- sql: JSON_ARRAYAGG(items [ { NULL | ABSENT } ON NULL ])
table: jsonArrayAgg(JsonOnNull, itemExpression)
description: |
- Builds a JSON object string by aggregating items into an array.
+ 通过将字段聚合到数组中构建JSON对象字符串。
- Item expressions can be arbitrary, including other JSON functions. If a
value is `NULL`, the
- `ON NULL` behavior defines what to do. If omitted, `ABSENT ON NULL` is
assumed by default.
+ 项表达式可以是任意的,包括其他 JSON 函数。如果值为 `NULL`,则 `ON NULL`
行为定义了要执行的操作。如果省略,默认情况下假定为 `ABSENT ON NULL`。
Review comment:
```suggestion
项目表达式可以是任意的,包括其他 JSON 函数。如果值为 `NULL`,则 `ON NULL`
行为定义了要执行的操作。如果省略,默认情况下假定为 `ABSENT ON NULL`。
```
##########
File path: docs/data/sql_functions_zh.yml
##########
@@ -765,10 +764,9 @@ json:
- sql: JSON_STRING(value)
table: jsonString(value)
description: |
- Serializes a value into JSON.
+ 将值序列化为JSON。
Review comment:
```suggestion
将值序列化为 JSON。
```
--
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]