[ https://issues.apache.org/jira/browse/SPARK-23466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369623#comment-16369623 ]
Apache Spark commented on SPARK-23466: -------------------------------------- User 'kiszk' has created a pull request for this issue: https://github.com/apache/spark/pull/20637 > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org