You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2017/11/05 05:58:00 UTC

[jira] [Resolved] (SPARK-22378) Redundant nullcheck is generated for extracting value in complex types

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org