You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/10/20 07:34:58 UTC

[GitHub] [flink] MonsterChenzhuo commented on a change in pull request #17508: [FLINK-24351][docs] Translate "JSON Function" pages into Chinese

MonsterChenzhuo commented on a change in pull request #17508:
URL: https://github.com/apache/flink/pull/17508#discussion_r732491168



##########
File path: docs/data/sql_functions_zh.yml
##########
@@ -887,15 +875,11 @@ json:
   - sql: JSON_ARRAY([value]* [ { NULL | ABSENT } ON NULL ])
     table: jsonArray(JsonOnNull, values...)
     description: |
-      Builds a JSON array string from a list of values.
+      将一个数值列表构建成一个 JSON 数组字符串。
 
-      This function returns a JSON string. The values can be arbitrary expressions. The `ON NULL`
-      behavior defines how to treat `NULL` values. If omitted, `ABSENT ON NULL` is assumed by
-      default.
+      这个函数返回一个 JSON 字符串,值可以是任意表达式。'ON NULL' 行为定义了如何处理 'NULL' 值。如果省略,则假定 'ABSENT ON NULL' 为默认值。
 
-      Elements which are created from another JSON construction function call (`JSON_OBJECT`,
-      `JSON_ARRAY`) are inserted directly rather than as a string. This allows building nested JSON
-      structures.
+      元素是由另一个 JSON 构造函数调用 ('JSON_OBJECT','JSON_ARRAY') 直接插入所创建,而不是作为一个字符串。他允许构建嵌套的 JSON 结构。

Review comment:
        '[[1]]' 是由JSON_ARRAY(JSON_ARRAY(1))所创建,它是一个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: issues-unsubscribe@flink.apache.org

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