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



##########
File path: docs/data/sql_functions_zh.yml
##########
@@ -707,11 +707,9 @@ json:
   - sql: IS JSON [ { VALUE | SCALAR | ARRAY | OBJECT } ]
     table: STRING.isJson([JsonType type])
     description: |
-      Determine whether a given string is valid JSON.
+      判定给定字符串是否为有效的 JSON。
 
-      Specifying the optional type argument puts a constraint on which type of 
JSON object is
-      allowed. If the string is valid JSON, but not that type, `false` is 
returned. The default is
-      `VALUE`.
+      指定一个可选类型参数将会限制允许哪种类型的 JSON 对象。如果字符串是有效的 JSON,但不是指定的类型,则返回 'false'。默认值为 
'VALUE'。

Review comment:
       > Just saw this. Is anything unclear here? I can't tell if you mean to 
say that something is wrong with the code or the (English) docs. From what I 
can see everything seems to be correct?
   
   @Airblader  I just want to prove that description '是这个意思 '1' IS JSON SCALAR 
返回为false' is inaccurate.




-- 
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-unsubscr...@flink.apache.org

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


Reply via email to