You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/11/08 20:49:58 UTC
[jira] [Resolved] (SPARK-16215) Reduce runtime overhead of a
program that writes an primitive array in Dataframe/Dataset
[ https://issues.apache.org/jira/browse/SPARK-16215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-16215.
-------------------------------
Resolution: Duplicate
> Reduce runtime overhead of a program that writes an primitive array in Dataframe/Dataset
> ----------------------------------------------------------------------------------------
>
> Key: SPARK-16215
> URL: https://issues.apache.org/jira/browse/SPARK-16215
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Kazuaki Ishizaki
>
> When we run a program that writes an primitive array in Dataframe/Dataset, generated code for projection performs null check and element-based data copy. We can alleviate overhead of these operations by generating better code.
> A target program
> {code}
> val df = sparkContext.parallelize(Seq(0.0d, 1.0d), 1).toDF
> df.selectExpr("Array(value + 1.1d, value + 2.2d)").collect
> {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