MaxGekk commented on code in PR #48332:
URL: https://github.com/apache/spark/pull/48332#discussion_r1793627303


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -2832,6 +2838,11 @@
           "expects an integer literal, but got <invalidValue>."
         ]
       },
+      "INTERVAL_WITH_MICROSECONDS" : {
+        "message" : [
+          "Cannot add hours, minutes, seconds or microseconds to a date. If 
necessary set <ansiConfig> to \"false\" to bypass this error."

Review Comment:
   It is not clear from the error message what's wrong. Let's rephrase it:
   ```suggestion
             "Cannot add an interval because its microseconds part is 0. If 
necessary set <ansiConfig> to \"false\" to bypass this 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]

Reply via email to