zhztheplayer opened a new issue, #8182: URL: https://github.com/apache/incubator-gluten/issues/8182
### Description Spark / Gluten query planner requires heavily on plan immutability. Currently there are some (unlimited to) code snippets potentially making plans mutable: 1. WholeStageTransformer.setOutputSchemaForPlan (VL + CH) https://github.com/apache/incubator-gluten/blob/15f4cde02bf965e70bae5079c40aae78ad80e45a/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala#L234-L241 2. BatchScanExecTransformer.setPushDownFilters (CH) https://github.com/apache/incubator-gluten/blob/15f4cde02bf965e70bae5079c40aae78ad80e45a/gluten-substrait/src/main/scala/org/apache/gluten/execution/BatchScanExecTransformer.scala#L102-L104 Should find a way to remove the problematical code to make relevant plan immutable. -- 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]
