acvictor opened a new pull request, #11953:
URL: https://github.com/apache/gluten/pull/11953

   ## What changes are proposed in this pull request?
   `containsNamedStructAlias` in `CollapseProjectExecTransformer` guards 
against collapsing project nodes when `CreateNamedStruct` is present, since 
Velox generates a special obj output that breaks bind reference resolution 
after collapse. The existing pattern match only detects `CreateNamedStruct` as 
the direct child of `Alias` and misses `CreateNamedStruct` nested inside any 
wrapper expression like `If`, `CaseWhen` allowing unsafe collapse that causes 
Velox bind reference failures at runtime. This PR uses `expression.exists` to 
walk the full subtree.
   
   ## How was this patch tested?
   Existing UT
   
   ## Was this patch authored or co-authored using generative AI tooling?
   No
   


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