You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/08/03 08:42:04 UTC
[jira] [Resolved] (SPARK-9404) UnsafeArrayData
[ https://issues.apache.org/jira/browse/SPARK-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-9404.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
> UnsafeArrayData
> ---------------
>
> Key: SPARK-9404
> URL: https://issues.apache.org/jira/browse/SPARK-9404
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Wenchen Fan
> Fix For: 1.5.0
>
>
> An Unsafe-based ArrayData implementation. To begin with, we can encode data this way:
> first 4 bytes is the # elements
> then each 4 byte is the start offset of the element, unless it is negative, in which case the element is null.
> followed by the elements themselves
> For example, [10, 11, 12, 13, null, 14], internally should be represented as (each 4 bytes)
> 5, 28, 32, 36, 40, -44, 48, 10, 11, 12, 13, 0, 14
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org