You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kazuaki Ishizaki (JIRA)" <ji...@apache.org> on 2018/02/19 18:08:00 UTC

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

Kazuaki Ishizaki created SPARK-23466:
----------------------------------------

             Summary: 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


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