You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hovell (JIRA)" <ji...@apache.org> on 2017/09/23 14:13:01 UTC

[jira] [Updated] (SPARK-22092) Reallocation in OffHeapColumnVector.reserveInternal corrupts array data

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

Herman van Hovell updated SPARK-22092:
--------------------------------------
    Fix Version/s: 2.2.1

> Reallocation in OffHeapColumnVector.reserveInternal corrupts array data
> -----------------------------------------------------------------------
>
>                 Key: SPARK-22092
>                 URL: https://issues.apache.org/jira/browse/SPARK-22092
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Ala Luszczak
>            Assignee: Ala Luszczak
>             Fix For: 2.2.1, 2.3.0
>
>
> OffHeapColumnVector.reserveInternal() will only copy already inserted values during reallocation if this.data != null. However, for vectors containing arrays, field data is disused and always equals null. Hence, the reallocation of array vector always causes data loss.



--
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