You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kazuaki Ishizaki (JIRA)" <ji...@apache.org> on 2017/06/26 18:59:00 UTC
[jira] [Created] (SPARK-21217) Support
ColumnVector.Array.toArray()
Kazuaki Ishizaki created SPARK-21217:
----------------------------------------
Summary: 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