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] [Commented] (SPARK-15734) Avoids printing internal row in explain output
Date Thu, 02 Jun 2016 19:10:59 GMT

    [ https://issues.apache.org/jira/browse/SPARK-15734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312889#comment-15312889
] 

Apache Spark commented on SPARK-15734:
--------------------------------------

User 'clockfly' has created a pull request for this issue:
https://github.com/apache/spark/pull/13471

> 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


Mime
View raw message