You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jean-Francis Roy (Jira)" <ji...@apache.org> on 2021/02/15 21:27:00 UTC

[jira] [Commented] (SPARK-34441) from_json documentation is wrong about malformed JSONs output

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

Jean-Francis Roy commented on SPARK-34441:
------------------------------------------

It even seems we cannot reproduce the previous behavior anymore:
{code:java}
from_json() doesn't support the DROPMALFORMED mode. Acceptable modes are PERMISSIVE and FAILFAST.{code}

> from_json documentation is wrong about malformed JSONs output
> -------------------------------------------------------------
>
>                 Key: SPARK-34441
>                 URL: https://issues.apache.org/jira/browse/SPARK-34441
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation
>    Affects Versions: 3.0.0, 3.0.1
>            Reporter: Jean-Francis Roy
>            Priority: Minor
>
> The documentation of the `from_json` function states that malformed json will return a `null` value, which is not the case anymore after https://issues.apache.org/jira/browse/SPARK-25243.
>  



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