[
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: [email protected]
For additional commands, e-mail: [email protected]