Github user heary-cao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20699#discussion_r173061240
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/Exchange.scala 
---
    @@ -109,3 +109,15 @@ case class ReuseExchange(conf: SQLConf) extends 
Rule[SparkPlan] {
         }
       }
     }
    +
    +/**
    + * Remove redundant [[ShuffleExchangeExec]] from a spark plan.
    + */
    +case class RemoveRedundantExchange(conf: SQLConf) extends Rule[SparkPlan] {
    +  def apply(plan: SparkPlan): SparkPlan = {
    +    plan.transformUp {
    --- End diff --
    
    Sorry, thank you for review it. I'll update it right away. 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to