You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2017/05/02 05:59:04 UTC

[jira] [Resolved] (SPARK-20537) OffHeapColumnVector reallocation may not copy existing data

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

Wenchen Fan resolved SPARK-20537.
---------------------------------
       Resolution: Fixed
         Assignee: Kazuaki Ishizaki
    Fix Version/s: 2.3.0
                   2.2.1

> OffHeapColumnVector reallocation may not copy existing data
> -----------------------------------------------------------
>
>                 Key: SPARK-20537
>                 URL: https://issues.apache.org/jira/browse/SPARK-20537
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.1.0
>            Reporter: Kazuaki Ishizaki
>            Assignee: Kazuaki Ishizaki
>             Fix For: 2.2.1, 2.3.0
>
>
> As SPARK-20474 revealed, reallocation in {{OnHeapColumnVector}} may copy a part of the original storage.
> {{OffHeapColumnVector}} reallocation also copies to the new storage data up to {{elementsAppended}}. This variable is only updated when using the ColumnVector.appendX API, while ColumnVector.putX is more commonly used.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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