zhengruifeng opened a new pull request, #42698: URL: https://github.com/apache/spark/pull/42698
### What changes were proposed in this pull request? Remove `_get_alias` from DataFrame ### Why are the changes needed? `_get_alias` was added in the [initial PR](https://github.com/apache/spark/commit/6637bbe2b25ff2877b41a9677ce6d75e6996f968), but it's never used: field `alias` in `plan.Project` is always `None`; `_get_alias` takes no parameter, but is used to replace a specify column name, the logic is weird when the column name varies; ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI ### 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]
