spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herman van Hovell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-22092) Reallocation in OffHeapColumnVector.reserveInternal corrupts array data
Date Fri, 22 Sep 2017 13:36:00 GMT

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

Herman van Hovell resolved SPARK-22092.
---------------------------------------
       Resolution: Fixed
         Assignee: Ala Luszczak
    Fix Version/s: 2.3.0

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


Mime
View raw message