org.apache.spark.sql.execution.command
An explain command for users to see how a command will be executed.
Note that this command takes in a logical plan, runs the optimizer on the logical plan (but do NOT actually execute it).
EXPLAIN (EXTENDED | CODEGEN) SELECT * FROM ...
plan to explain
output schema
whether to do extended explain or not
whether to output generated code from whole-stage codegen or not
An explain command for users to see how a command will be executed.
Note that this command takes in a logical plan, runs the optimizer on the logical plan (but do NOT actually execute it).
plan to explain
output schema
whether to do extended explain or not
whether to output generated code from whole-stage codegen or not