You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Holden Karau (Jira)" <ji...@apache.org> on 2026/08/06 21:57:00 UTC

[jira] [Created] (SPARK-58628) Transpilation: Avoid adding None/null checks with raises on non-nullable fields

Holden Karau created SPARK-58628:
------------------------------------

             Summary: Transpilation: Avoid adding None/null checks with raises on non-nullable fields
                 Key: SPARK-58628
                 URL: https://issues.apache.org/jira/browse/SPARK-58628
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 4.3.0
            Reporter: Holden Karau


We should avoid adding None/null checks with raises on non-nullable fields and after if x is none branch (with return) x should be considered non-nullable going forward or inside of the if x is not none branch should be non-nullable. Raise errors will prevent the filter from bubling up. Add a (gentle) warning when transpiling a UDF which does require it.



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

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