mihailom-db opened a new pull request, #46987: URL: https://github.com/apache/spark/pull/46987
### What changes were proposed in this pull request? Fix for implicit casting of `FrameLessOffsetWindowFunction`s. ### Why are the changes needed? These functions require third parameter to have the same type as the first one. For that reason `CollationTypeCasts` needs to cover this case. ### Does this PR introduce _any_ user-facing change? Yes, Lag and Lead will preform implicit type check. ### How was this patch tested? Tests added to relevant suite. ### 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]
