You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/08/19 02:27:45 UTC

[jira] [Updated] (SPARK-10065) Avoid triple copy of var-length objects in Array in tungsten projection

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

Michael Armbrust updated SPARK-10065:
-------------------------------------
    Target Version/s: 1.6.0  (was: 1.5.0)

> Avoid triple copy of var-length objects in Array in tungsten projection
> -----------------------------------------------------------------------
>
>                 Key: SPARK-10065
>                 URL: https://issues.apache.org/jira/browse/SPARK-10065
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Davies Liu
>
> The first copy happens when we calculate the size of each element, after that, we copy the elements into array buffer, finally we copy the array buffer into row buffer. 
> We could calculate the total size first, then convert the elements into row buffer directly.



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