zml1206 opened a new pull request, #46741: URL: https://github.com/apache/spark/pull/46741
### What changes were proposed in this pull request? Refactor `RewriteWithExpression` logic to support related nested `WITH` expression. Generate `Project` order: 1. internally nested with of main expression definitions 2. main expression 3. internally nested with of main expression ### Why are the changes needed? Optimize `WITH` nested to apply to more scenarios, such as push down predicate. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Unit test. ### 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]
