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

 ##########
 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:
   Elsewhere in this doc we define variables and their type, e.g. "In the 
following: *geom* is a GEOMETRY". You could define *jsonValue* similarly, and 
therefore you can be more concise when specifying function.

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