You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/14 16:51:57 UTC

[jira] [Assigned] (SPARK-15950) Eliminate unreachable code at projection for complex types

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

Apache Spark reassigned SPARK-15950:
------------------------------------

    Assignee: Apache Spark

> Eliminate unreachable code at projection for complex types
> ----------------------------------------------------------
>
>                 Key: SPARK-15950
>                 URL: https://issues.apache.org/jira/browse/SPARK-15950
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Kazuaki Ishizaki
>            Assignee: Apache Spark
>
> When we run a spark program with a projection for a complex type, some unreachable code blocks are generated. It would be good to eliminate them to reduce the total size of Java byte code in a method generated by whole stage codegen.
> {code}
> val df = sparkContext.parallelize(Seq(1, 2), 1).toDF("v")
> df.selectExpr("Array(v + 2, v + 3)").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