Sean Zhong created SPARK-15792:
----------------------------------

             Summary: [SQL] Allows operator to change the verbosity in explain 
output.
                 Key: SPARK-15792
                 URL: https://issues.apache.org/jira/browse/SPARK-15792
             Project: Spark
          Issue Type: Improvement
            Reporter: Sean Zhong
            Priority: Minor


We should allows an operator (Physical plan or logical plan) to change 
verbosity in explain output.

For example, we may not want to display {{output=[count(a)#48L]}} in 
less-verbose mode.

{code}
scala> spark.sql("select count(a) from df").explain()

== Physical Plan ==
*HashAggregate(key=[], functions=[count(1)], output=[count(a)#48L])
+- Exchange SinglePartition
   +- *HashAggregate(key=[], functions=[partial_count(1)], output=[count#50L])
      +- LocalTableScan
{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

Reply via email to