nebojsa-db opened a new pull request, #46561: URL: https://github.com/apache/spark/pull/46561
### What changes were proposed in this pull request? We are extending support for collated strings on date_format function, since currently it throws DATATYPE_MISSMATCH exception when collated strings are passed as "format" parameter. https://docs.databricks.com/en/sql/language-manual/functions/date_format.html ### Why are the changes needed? Exception is thrown on invocation when collated strings are passed as arguments to date_format. ### Does this PR introduce _any_ user-facing change? No user facing changes, extending support. ### How was this patch tested? Tests are added with this PR. ### 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]
