Kazuaki Ishizaki created SPARK-23466:

             Summary: Remove redundant null checks in generated Java code by 
                 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

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

Reply via email to