allisonwang-db opened a new pull request #29734: URL: https://github.com/apache/spark/pull/29734
### What changes were proposed in this pull request? This PR updates the `RemoveRedundantProjects` rule to make `GenerateExec` require column ordering. ### Why are the changes needed? `GenerateExec` was originally considered as a node that does not require column ordering. From the implementation, however, we found that it binds its input rows directly with its `requiredChildOutput` without using the child's output schema. In this case, changing input column ordering will result in `GenerateExec` binding the wrong schema to the input columns. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Unit test ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
