VasShabu commented on code in PR #28850:
URL: https://github.com/apache/flink/pull/28850#discussion_r3776286246


##########
docs/data/sql_functions.yml:
##########
@@ -1267,6 +1267,50 @@ json:
       
         -- JSON_EXISTS separates an absent path from a present one
         SELECT JSON_EXISTS(json_doc, '$.items[*]'), JSON_LENGTH(json_doc, 
'$.items[*]');
+  - sql: JSON_TYPE(jsonValue[, path])
+    table: jsonType(jsonValue[, path])
+    description: |
+      Returns a string value indicating the type of jsonValue, optionally at 
the given JSON
+      `path`. Returns SQL `NULL` if jsonValue is SQL `NULL`, is not valid 
JSON, or the path
+      does not resolve to exactly one value.
+
+      The possible results are `object`, `array`, `string`, `number`, 
`boolean` and `null` for
+      the JSON null literal.
+
+      Every number is reported as `number`,whatever its magnitude or precision.

Review Comment:
   Cool, will do it when im back. Thanks



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

Reply via email to