gotocoding-DB commented on code in PR #48773:
URL: https://github.com/apache/spark/pull/48773#discussion_r1836650027


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -2022,8 +2022,20 @@
   },
   "INTERVAL_ARITHMETIC_OVERFLOW" : {
     "message" : [
-      "<message>.<alternative>"
+      "Integer overflow while operating with intervals."
     ],
+    "subClass" : {
+      "WITHOUT_SUGGESTION" : {
+        "message" : [
+          "Try devising appropriate values for the interval parameters."

Review Comment:
   User has integer overflow in make_[dt|ym]_interval and we have no good 
advise for user. User should take a look into usage of this function and check 
how he uses it.
   I've tried to write some specific text here: 
https://github.com/apache/spark/pull/48773#discussion_r1831615829
   But this error not just for datetime intervals, it's general for all 
interval integer overflows where we can't help user.



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