mihailom-db commented on code in PR #48773:
URL: https://github.com/apache/spark/pull/48773#discussion_r1832528601
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -2020,11 +2020,23 @@
],
"sqlState" : "XX000"
},
- "INTERVAL_ARITHMETIC_OVERFLOW" : {
- "message" : [
- "<message>.<alternative>"
+ "INTERVAL_ARITHMETIC_OVERFLOW": {
+ "message": [
+ "Integer overflow while operating with intervals."
],
- "sqlState" : "22015"
+ "subClass": {
+ "WITH_TRY_SUGGESTION": {
+ "message": [
+ "<message>.<alternative>."
Review Comment:
I think we can change the structure here to:
```suggestion
"<alternative>."
```
The other part was just for passing java message
--
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]