srielau commented on code in PR #48656:
URL: https://github.com/apache/spark/pull/48656#discussion_r1816816673
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -2413,7 +2413,8 @@
},
"INVALID_FRACTION_OF_SECOND" : {
"message" : [
- "The fraction of sec must be zero. Valid range is [0, 60]. If necessary
set <ansiConfig> to \"false\" to bypass this error."
+ "The fraction of sec must be zero. Valid range is [0, 60]. To avoid this
error, use try_make_timestamp, which returns NULL on error.",
Review Comment:
Note that this is a runtime error, so the user may not know hat the bad
value is. I think it would be beneficial if we were able to return the bad value
--
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]