cloud-fan commented on a change in pull request #30200:
URL: https://github.com/apache/spark/pull/30200#discussion_r514891961



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AdaptiveSparkPlanExec.scala
##########
@@ -85,14 +86,16 @@ case class AdaptiveSparkPlanExec(
   @transient private val removeRedundantProjects = RemoveRedundantProjects
   @transient private val removeRedundantSorts = RemoveRedundantSorts
   @transient private val ensureRequirements = EnsureRequirements
+  @transient private val disableUnnecessaryBucketedScan = 
DisableUnnecessaryBucketedScan
 
   // A list of physical plan rules to be applied before creation of query 
stages. The physical
   // plan should reach a final status of query stages (i.e., no more addition 
or removal of
   // Exchange nodes) after running these rules.
   private def queryStagePreparationRules: Seq[Rule[SparkPlan]] = Seq(
     removeRedundantProjects,
     removeRedundantSorts,
-    ensureRequirements
+    ensureRequirements,
+    disableUnnecessaryBucketedScan

Review comment:
       seems we can just put `DisableUnnecessaryBucketedScan`, same to other 
rules. 

##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AdaptiveSparkPlanExec.scala
##########
@@ -85,14 +86,16 @@ case class AdaptiveSparkPlanExec(
   @transient private val removeRedundantProjects = RemoveRedundantProjects
   @transient private val removeRedundantSorts = RemoveRedundantSorts
   @transient private val ensureRequirements = EnsureRequirements
+  @transient private val disableUnnecessaryBucketedScan = 
DisableUnnecessaryBucketedScan
 
   // A list of physical plan rules to be applied before creation of query 
stages. The physical
   // plan should reach a final status of query stages (i.e., no more addition 
or removal of
   // Exchange nodes) after running these rules.
   private def queryStagePreparationRules: Seq[Rule[SparkPlan]] = Seq(
     removeRedundantProjects,
     removeRedundantSorts,
-    ensureRequirements
+    ensureRequirements,
+    disableUnnecessaryBucketedScan

Review comment:
       seems we can just put `DisableUnnecessaryBucketedScan`. Same to other 
rules. 




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



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

Reply via email to