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