haoyangeng-db opened a new pull request, #51101: URL: https://github.com/apache/spark/pull/51101
### What changes were proposed in this pull request? Added a unit test to verify the case of a UDF referencing a Column object defined outside of it can be referenced from the UDF as intended. ### Why are the changes needed? This isn't really an intended usage pattern, but there are users implicitly relying on this behavior. So it'd cause issues for those users if this is unintentionally broken. Here we add a new unit test to ensure this case is covered. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? This is a unit test only change. ### 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]
