You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/07/20 16:50:00 UTC

[jira] [Assigned] (SPARK-24878) Fix reverse function for array type of primitive type containing null.

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

Apache Spark reassigned SPARK-24878:
------------------------------------

    Assignee:     (was: Apache Spark)

> Fix reverse function for array type of primitive type containing null.
> ----------------------------------------------------------------------
>
>                 Key: SPARK-24878
>                 URL: https://issues.apache.org/jira/browse/SPARK-24878
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Takuya Ueshin
>            Priority: Major
>
> If we use {{reverse}} function for array type of primitive type containing {{null}} and the child array is {{UnsafeArrayData}}, the function returns a wrong result because {{UnsafeArrayData}} doesn't define the behavior of re-assignment, especially we can't set a valid value after we set {{null}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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