You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/06/26 19:16:00 UTC
[jira] [Commented] (SPARK-21217) Support
ColumnVector.Array.toArray()
[ https://issues.apache.org/jira/browse/SPARK-21217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16063631#comment-16063631 ]
Apache Spark commented on SPARK-21217:
--------------------------------------
User 'kiszk' has created a pull request for this issue:
https://github.com/apache/spark/pull/18425
> 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
>
> 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