vladanvasi-db commented on code in PR #47846:
URL: https://github.com/apache/spark/pull/47846#discussion_r1730832289
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -1914,6 +1914,44 @@
],
"sqlState" : "22012"
},
+ "INTERVAL_ERROR" : {
+ "message" : [
+ "Interval error."
+ ],
+ "subClass" : {
+ "DAY_TIME_PARSING" : {
Review Comment:
Yes, however, this error and its subclasses consider arithmetic intervals,
and this one that I added considers date interval errors. If you recommend, I
can rename the parent class to something like `DATE_INTERVAL_ERROR`
--
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]