leanken opened a new pull request #30442:
URL: https://github.com/apache/spark/pull/30442


   ### What changes were proposed in this pull request?
   
   Datetime parsing should fail if the input string can't be parsed, or the 
pattern string is invalid, when ANSI mode is enable. This patch should update 
GetTimeStamp, UnixTimeStamp, ToUnixTimeStamp and Cast.
   
   ### Why are the changes needed?
   
   For ANSI mode.
   
   ### Does this PR introduce any user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Added UT and Existing UT.


----------------------------------------------------------------
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.

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