[ 
https://issues.apache.org/jira/browse/SPARK-22378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiao Li resolved SPARK-22378.
-----------------------------
       Resolution: Fixed
         Assignee: Kazuaki Ishizaki
    Fix Version/s: 2.3.0

> 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
>            Assignee: Kazuaki Ishizaki
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> 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

Reply via email to