You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "zhztheplayer (via GitHub)" <gi...@apache.org> on 2024/12/09 07:17:25 UTC
[I] [CORE][CH] Bad mutable query plan nodes [incubator-gluten]
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: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org