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

Chenhao Li resolved SPARK-49761.
--------------------------------
    Resolution: Not A Problem

> Fix return type nullability of schema_of_json
> ---------------------------------------------
>
>                 Key: SPARK-49761
>                 URL: https://issues.apache.org/jira/browse/SPARK-49761
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.0.0, 3.5.2
>            Reporter: Chenhao Li
>            Priority: Major
>
> The `schema_of_json` expression incorrectly marks its return type as 
> non-nullable, which means that it should return a non-null result even for 
> null input. This is not true because the expression is actually 
> null-intolerant. This error can lead to NPE in the generated code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to