viirya commented on a change in pull request #35544:
URL: https://github.com/apache/spark/pull/35544#discussion_r808317200
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/ExplainSuite.scala
##########
@@ -527,6 +527,20 @@ class ExplainSuite extends ExplainSuiteHelper with
DisableAdaptiveExecutionSuite
class ExplainSuiteAE extends ExplainSuiteHelper with
EnableAdaptiveExecutionSuite {
import testImplicits._
+ /**
+ * Get the final plan explain after running the sql
+ */
+ private def withFinalPlanNormalizedExplain(query: String, mode: String)(f:
String => Unit) = {
Review comment:
Cannot we reuse `withNormalizedExplain`? Seems you can pass a DataFrame
for the query?
--
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]