[ https://issues.apache.org/jira/browse/SPARK-22378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kazuaki Ishizaki updated SPARK-22378: ------------------------------------- Description: Redundant null check is generated in the code for extracting an element from complex types {{GetArrayItem}}, {{GetMapValue}}, and {{GetArrayStructFields}}. Since these code generations do not take care of {{nullable}} in {{DataType}} such as {{ArrayType}}, the generated code always has {{isNullAt(index)}}. Summary: Redundant nullcheck is generated for extracting value in complex types (was: Eliminate redundant nullcheck in generated code for extracting value in complex type) > Redundant nullcheck is generated for extracting value in complex types > ---------------------------------------------------------------------- > > Key: SPARK-22378 > URL: https://issues.apache.org/jira/browse/SPARK-22378 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.2.0 > Reporter: Kazuaki Ishizaki > Priority: Minor > > Redundant null check is generated in the code for extracting an element from > complex types {{GetArrayItem}}, {{GetMapValue}}, and > {{GetArrayStructFields}}. Since these code generations do not take care of > {{nullable}} in {{DataType}} such as {{ArrayType}}, the generated code always > has {{isNullAt(index)}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org