beliefer opened a new issue, #10559:
URL: https://github.com/apache/incubator-gluten/issues/10559

   ### Description
   
   The implementation of StrictRule used to replaces the children with 
`DummyLeafExec` s so they become inaccessible afterward.
   
   But there exists a conflict that `LegacyOffload` applies each rule with 
`transformUp`.
   ```
   class LegacyOffload(rules: Seq[OffloadSingleNode]) extends Rule[SparkPlan] 
with LogLevelUtil {
     def apply(plan: SparkPlan): SparkPlan = {
       val out =
         rules.foldLeft(plan)((p, rule) => p.transformUp { case p => 
rule.offload(p) })
       out
     }
   }
   ```
   In other words, the class `DummyLeafExec` is invalid due to the mechanism of 
`transformUp`.
   
   ### Gluten version
   
   main branch


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

Reply via email to