You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Rakesh Raushan (Jira)" <ji...@apache.org> on 2020/03/10 09:53:00 UTC

[jira] [Commented] (SPARK-31106) Support IS_JSON

    [ https://issues.apache.org/jira/browse/SPARK-31106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055757#comment-17055757 ] 

Rakesh Raushan commented on SPARK-31106:
----------------------------------------

I am working on it.

> Support IS_JSON
> ---------------
>
>                 Key: SPARK-31106
>                 URL: https://issues.apache.org/jira/browse/SPARK-31106
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Rakesh Raushan
>            Priority: Major
>
> Currently, null is returned when we come across invalid json. We should either throw an exception for invalid json or false should be returned, like in other DBMSs. Like in `json_array_length` function we need to return NULL for null array. So this might confuse users.
>  
> DBMSs supporting this functions are :
>  * MySQL
>  * SQL Server
>  * Sqlite
>  * MariaDB



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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