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/05/11 20:03:04 UTC

[jira] [Updated] (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 ]

Xiao Li updated SPARK-20537:
----------------------------
    Fix Version/s:     (was: 2.2.1)
                       (was: 2.3.0)
                   2.2.0

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