cloud-fan commented on code in PR #45488:
URL: https://github.com/apache/spark/pull/45488#discussion_r1535032201
##########
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:
This is really a hacky way to provide extended EXPLAIN info. Can we add a
interface like
```
trait ExtendedExplainGenerator {
def generateExtendedInfo(plan: SparkPlan): String
}
```
Then the config provides the implementation class.
--
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]