Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.3.0
-
None
-
None
Description
Besides get_json_object which returns a JSON string in a return type, we should add a function "get_json_scalar" that returns a scalar type assuming the path maps to a scalar (boolean, number, string or null). It returns null when the path points to a object or array structure
This is also in Presto (https://prestodb.io/docs/current/functions/json.html).