[ 
https://issues.apache.org/jira/browse/SPARK-23953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Chen resolved SPARK-23953.
----------------------------------
    Resolution: Invalid

> Add get_json_scalar function
> ----------------------------
>
>                 Key: SPARK-23953
>                 URL: https://issues.apache.org/jira/browse/SPARK-23953
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Timothy Chen
>            Priority: Major
>
> 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).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to