spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-10065) Avoid triple copy of var-length objects in Array in tungsten projection
Date Fri, 11 Sep 2015 10:10:47 GMT

     [ 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


Mime
View raw message