cloud-fan commented on a change in pull request #26813: [SPARK-30188][SQL][WIP] 
Enable adaptive query execution by default
URL: https://github.com/apache/spark/pull/26813#discussion_r362052432
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/joins/BroadcastJoinSuite.scala
 ##########
 @@ -378,7 +380,12 @@ class BroadcastJoinSuite extends QueryTest with 
SQLTestUtils {
   private val bl = BroadcastNestedLoopJoinExec.toString
 
   private def assertJoinBuildSide(sqlStr: String, joinMethod: String, 
buildSide: BuildSide): Any = {
-    val executedPlan = sql(sqlStr).queryExecution.executedPlan
+    var executedPlan = sql(sqlStr).queryExecution.executedPlan
 
 Review comment:
   nit:
   ```
   val executedPlan = sql(sqlStr).queryExecution.executedPlan match {
     case a: AdaptiveSparkPlanExec => a.executedPlan
     case other => other
   }
   ```

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


With regards,
Apache Git Services

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

Reply via email to