mihailom-db opened a new pull request, #49290:
URL: https://github.com/apache/spark/pull/49290

   ### What changes were proposed in this pull request?
   Change of suggested function on failure from `try_to_timestamp` to 
`try_to_date` for `to_date` function.
   
   
   ### Why are the changes needed?
   In original PR https://github.com/apache/spark/pull/49227 we removed ANSI 
suggestion and left only a suggestion of try function to use. In case of 
`to_date`, use of `try_to_date` is more appropriate.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes
   
   
   ### How was this patch tested?
   Existing tests scope error message 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]

Reply via email to