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 2017/04/30 10:32:04 UTC
[jira] [Commented] (SPARK-20537) OffHeapColumnVector reallocation
may not copy existing data
[ https://issues.apache.org/jira/browse/SPARK-20537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990191#comment-15990191 ]
Apache Spark commented on SPARK-20537:
--------------------------------------
User 'kiszk' has created a pull request for this issue:
https://github.com/apache/spark/pull/17811
> 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
>
> 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