zhengruifeng opened a new pull request, #45788: URL: https://github.com/apache/spark/pull/45788
### What changes were proposed in this pull request? improve the column name validation, to try the best to avoid RPC. ### Why are the changes needed? existing validation contains two parts: 1, check whether the column name is in `self.columns`; <- client side validation 2, if step 1 fail, validate with additional RPC `df.select(...)`; the client side validation is too simple, and this PR aims to improve it to cover more cases: 1, backticks; 2, nested fields, e.g. 'a.b.c' ### 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]
