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

Wenchen Fan reassigned SPARK-52345:
-----------------------------------

    Assignee: David Milicevic

> Fix NULL behavior in scripting conditions
> -----------------------------------------
>
>                 Key: SPARK-52345
>                 URL: https://issues.apache.org/jira/browse/SPARK-52345
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, SQL
>    Affects Versions: 4.0.0, 4.1.0
>            Reporter: David Milicevic
>            Assignee: David Milicevic
>            Priority: Major
>              Labels: pull-request-available
>
> {{`NULL`}} is a valid Boolean "value" in SQL. Scripting engine is not 
> properly handling cases when conditions (in if-else, case, while, repeat 
> statements) returned {{{}NULL{}}}.
> Scripting engine throws an exception in such cases, stating that the {{NULL}} 
> is an invalid value.
> Scripting engine should consider such {{NULLs}} as a {{False}} Boolean value.



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

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

Reply via email to