[ https://issues.apache.org/jira/browse/SPARK-20253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-20253: ------------------------------------ Assignee: (was: Apache Spark) > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org