Apache Spark commented on SPARK-23466:

User 'kiszk' has created a pull request for this issue:

> 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

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

Reply via email to