spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-16215) Reduce runtime overhead of a program that writes an primitive array in Dataframe/Dataset
Date Sun, 26 Jun 2016 05:57:33 GMT

     [ https://issues.apache.org/jira/browse/SPARK-16215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apache Spark reassigned SPARK-16215:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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


Mime
View raw message