You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2017/07/07 05:11:02 UTC
[jira] [Assigned] (SPARK-21217) Support
ColumnVector.Array.toArray()
[ https://issues.apache.org/jira/browse/SPARK-21217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan reassigned SPARK-21217:
-----------------------------------
Assignee: Kazuaki Ishizaki
> Support ColumnVector.Array.to<type>Array()
> ------------------------------------------
>
> Key: SPARK-21217
> URL: https://issues.apache.org/jira/browse/SPARK-21217
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.3.0
> Reporter: Kazuaki Ishizaki
> Assignee: Kazuaki Ishizaki
> Fix For: 2.3.0
>
>
> When {{to<type>Array()}} in {{ColumnVector.Array}} (e.g. {{toIntArray()}}) is called, the generic method in {{ArrayData}} is called. It is not fast since element-wise copy is performed.
> This JIRA entry implements bulk-copy for these methods in {{ColumnVector.Array}} by using {{System.arrayCopy()}} or {{Platform.copyMemory()}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org