zhztheplayer commented on a change in pull request #1100: Site: Improve 
documentation for MySQL Specific JSON operators
URL: https://github.com/apache/calcite/pull/1100#discussion_r265453922
 
 

 ##########
 File path: site/_docs/reference.md
 ##########
 @@ -2003,13 +2003,35 @@ Note:
 
 | Operator syntax                                   | Description
 |:------------------------------------------------- |:-----------
-| JSON_TYPE(value)                                  | Returns a string 
indicating the type of a JSON **value**. This can be an object, an array, or a 
scalar type
-| JSON_DEPTH(value)                                 | Returns a integer 
indicating the depth of a JSON **value**. This can be an object, an array, or a 
scalar type
-| JSON_PRETTY(value)                                | Returns a 
pretty-printing of JSON **value**.
+| JSON_TYPE(value)                                  | Returns a string value 
indicating the type of a JSON **value**, *value* is in character string type
+| JSON_DEPTH(value)                                 | Returns a integer value 
indicating the depth of a JSON **value**, *value* is in character string type
 
 Review comment:
   Thank you for taking a look @julianhyde!
   I've added type definition for `jsonValue` and `path` right below the parent 
title "JSON Functions".

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to