You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/09/11 12:10:47 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 ]

Sean Owen updated SPARK-10065:
------------------------------
    Assignee: Wenchen Fan

> 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
>            Assignee: Wenchen Fan
>             Fix For: 1.6.0
>
>
> 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