Sean Zhong created SPARK-15734: ---------------------------------- Summary: 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org