wecharyu opened a new issue, #10421: URL: https://github.com/apache/incubator-gluten/issues/10421
### Backend VL (Velox) ### Bug description `Expand` operator could fallback by following error: ```bash == Fallback Summary == (6) Expand: Failed to bind reference for _pre_6#44282: Couldn't find _pre_6#44282 in [shop_id#18512L,seller_id#18521L,grass_region#18955,_groupingexpression#33997]; Failed to bind reference for _pre_6#44282: Couldn't find _pre_6#44282 in [shop_id#18512L,seller_id#18521L,grass_region#18955,_groupingexpression#33997] ``` **Root cause:** `newProjections` is evaluated after `newProject` construction. Due to potential compiler reordering, `expressionMap` may not be populated when `newProject` is created, leading to an empty map and incorrect behavior. https://github.com/apache/incubator-gluten/blob/5734fe71956916803e61014ce09f333b06e4caef/gluten-substrait/src/main/scala/org/apache/gluten/extension/columnar/rewrite/PullOutPreProject.scala#L258-L273 ### Gluten version _No response_ ### Spark version None ### Spark configurations _No response_ ### System information _No response_ ### Relevant logs ```bash ``` -- 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]
