You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/04/07 17:37:41 UTC

[jira] [Commented] (SPARK-20253) Remove unnecessary nullchecks of a return value from Spark runtime routines in generated Java code

    [ https://issues.apache.org/jira/browse/SPARK-20253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961171#comment-15961171 ] 

Apache Spark commented on SPARK-20253:
--------------------------------------

User 'kiszk' has created a pull request for this issue:
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
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org