MaxGekk commented on code in PR #49655:
URL: https://github.com/apache/spark/pull/49655#discussion_r1929182779
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -2743,7 +2743,7 @@
},
"INVALID_INTERVAL_WITH_MICROSECONDS_ADDITION" : {
"message" : [
- "Cannot add an interval to a date because its microseconds part is not
0. If necessary set <ansiConfig> to \"false\" to bypass this error."
+ "Cannot add an interval to a date because its microseconds part is not
0."
Review Comment:
You could suggest explicitly convert the input date to a timestamp. In that
case, the user can add the interval with non-zero microseconds.
--
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]