You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hovell (JIRA)" <ji...@apache.org> on 2016/11/07 23:17:58 UTC
[jira] [Resolved] (SPARK-17490) Optimize SerializeFromObject for
primitive array
[ https://issues.apache.org/jira/browse/SPARK-17490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herman van Hovell resolved SPARK-17490.
---------------------------------------
Resolution: Fixed
Assignee: Kazuaki Ishizaki
Fix Version/s: 2.1.0
> Optimize SerializeFromObject for primitive array
> ------------------------------------------------
>
> Key: SPARK-17490
> URL: https://issues.apache.org/jira/browse/SPARK-17490
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Kazuaki Ishizaki
> Assignee: Kazuaki Ishizaki
> Fix For: 2.1.0
>
>
> In logical plan, {{SerializeFromObject}} for an array always use {{GenericArrayData}} as a destination. {{UnsafeArrayData}} could be used for an primitive array. This is a simple approach to solve issues that are addressed by SPARK-16043.
> Here is a motivating example.
> {code}
> sparkContext.parallelize(Seq(Array(1)), 1).toDS.map(e => e).show
> {code}
--
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