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 2018/02/20 01:07:03 UTC

[jira] [Assigned] (SPARK-23466) Remove redundant null checks in generated Java code by GenerateUnsafeProjection

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

Apache Spark reassigned SPARK-23466:
------------------------------------

    Assignee:     (was: Apache Spark)

> Remove redundant null checks in generated Java code by GenerateUnsafeProjection
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-23466
>                 URL: https://issues.apache.org/jira/browse/SPARK-23466
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Kazuaki Ishizaki
>            Priority: Major
>
> One of TODOs in {{GenerateUnsafeProjection}} is "if the nullability of field is correct, we can use it to save null check" to simplify generated code.
> When {{nullable=false}} in {{DataType}}, {{GenerateUnsafeProjection}} removed code for null checks in the generated Java code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org