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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to