beliefer commented on a change in pull request #32513:
URL: https://github.com/apache/spark/pull/32513#discussion_r645407265
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala
##########
@@ -163,7 +163,7 @@ case class ExplainCommand(
// Run through the optimizer to generate the physical plan.
override def run(sparkSession: SparkSession): Seq[Row] = try {
- val outputString =
sparkSession.sessionState.executePlan(logicalPlan).explainString(mode)
+ val outputString = sparkSession.sessionState.executePlan(logicalPlan,
true).explainString(mode)
Review comment:
Let's use
```
object CommandExecutionMode extends Enumeration {
val COMMON, EAGERLY, SKIP = Value
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]