srielau commented on code in PR #48242:
URL: https://github.com/apache/spark/pull/48242#discussion_r1777206615
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -70,6 +70,12 @@
],
"sqlState" : "42000"
},
+ "ANSI_DATE_TIME_FIELD_OUT_OF_BOUNDS" : {
+ "message" : [
+ "ANSI mode error: <message>. If necessary set <ansiConfig> to false to
bypass this error."
Review Comment:
ANother option is to catch the Java exception and search for the components.
Just need teh few method names and the value. As long as we have tests for
each thsi shoudl be safe.
--
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]