cloud-fan commented on code in PR #45488:
URL: https://github.com/apache/spark/pull/45488#discussion_r1538626149


##########
sql/core/src/test/scala/org/apache/spark/sql/SparkSessionExtensionSuite.scala:
##########
@@ -583,6 +611,24 @@ case class MyParser(spark: SparkSession, delegate: 
ParserInterface) extends Pars
     delegate.parseQuery(sqlText)
 }
 
+case class ExplainPlanInfoTagRule() extends Rule[SparkPlan] {

Review Comment:
   Yes, the EXPLAIN command will call this plugin implementation and append the 
result to the command output as extended information. Then we don't need to add 
new APIs in `QueryPlan` and the plugin can also be more flexible as it sees the 
full plan tree.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to