[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to