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/02 19:10:59 UTC

[jira] [Assigned] (SPARK-15734) Avoids printing internal row in explain output

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

Apache Spark reassigned SPARK-15734:
------------------------------------

    Assignee:     (was: Apache Spark)

> Avoids printing internal row in explain output
> ----------------------------------------------
>
>                 Key: SPARK-15734
>                 URL: https://issues.apache.org/jira/browse/SPARK-15734
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Sean Zhong
>            Priority: Minor
>
> Avoids printing internal rows in explain out
> In explain output, some operator may prints internal Rows. For example, for LocalRelation, the explain output may looks like this:
> {code}
> scala> (1 to 10).toSeq.map(_ => (1,2,3)).toDF().createTempView("df3")
> scala> spark.sql("select * from df3 where 1=2").explain(true)
> ...
> == Analyzed Logical Plan ==
> _1: int, _2: int, _3: int
> Project [_1#37,_2#38,_3#39]
> +- Filter (1 = 2)
>    +- SubqueryAlias df3
>       +- LocalRelation [_1#37,_2#38,_3#39], [[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3]]
> ...
> {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