[
https://issues.apache.org/jira/browse/SPARK-58628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Holden Karau resolved SPARK-58628.
----------------------------------
Fix Version/s: 5.0.0
4.4.0
Resolution: Fixed
Issue resolved by pull request 59108
[https://github.com/apache/spark/pull/59108]
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 5.0.0, 4.4.0
>
>
> 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
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]