-
- Downloads
[SPARK-17078][SQL][FOLLOWUP] Simplify explain cost command
## What changes were proposed in this pull request? Usually when using explain cost command, users want to see the stats of plan. Since stats is only showed in optimized plan, it is more direct and convenient to include only optimized plan and physical plan in the output. ## How was this patch tested? Enhanced existing test. Author: Zhenhua Wang <wzh_zju@163.com> Closes #18190 from wzhfy/simplifyExplainCost.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala 14 additions, 14 deletions...scala/org/apache/spark/sql/execution/QueryExecution.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala 1 addition, 1 deletion...ala/org/apache/spark/sql/execution/command/commands.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveExplainSuite.scala 6 additions, 0 deletions...rg/apache/spark/sql/hive/execution/HiveExplainSuite.scala
Please register or sign in to comment