[ https://issues.apache.org/jira/browse/SPARK-52345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-52345. --------------------------------- Fix Version/s: 4.1.0 4.0.1 Resolution: Fixed Issue resolved by pull request 51047 [https://github.com/apache/spark/pull/51047] > 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 > Fix For: 4.1.0, 4.0.1 > > > {{`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