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

Wenchen Fan resolved SPARK-20253.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

Issue resolved by pull request 17569
[https://github.com/apache/spark/pull/17569]

> Remove unnecessary nullchecks of a return value from Spark runtime routines 
> in generated Java code
> --------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-20253
>                 URL: https://issues.apache.org/jira/browse/SPARK-20253
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Kazuaki Ishizaki
>            Assignee: Kazuaki Ishizaki
>             Fix For: 2.2.0
>
>
> While we know several Spark runtime routines never return null (e.g. 
> {{UnsafeArrayData.toDoubleArray()}}, the generated code by Catalyst always 
> checks whether the return value is null or not.
> It is good to remove this nullcheck for reducing Java bytecode size and 
> reducing the native code size.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to