gengliangwang commented on code in PR #36635:
URL: https://github.com/apache/spark/pull/36635#discussion_r879684995


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -23,7 +23,7 @@
     "message" : [ "Cannot up cast <value> from <sourceType> to 
<targetType>.\n<details>" ]
   },
   "CAST_INVALID_INPUT" : {
-    "message" : [ "The value <value> of the type <sourceType> cannot be cast 
to <targetType> because it is malformed. To return NULL instead, use 
`try_cast`. If necessary set <config> to \"false\" to bypass this error." ],
+    "message" : [ "The value <value> of the type <sourceType> cannot be cast 
to <targetType> because it is malformed. Correct the syntax for the value 
before casting it, or change the type to one appropriate for the value. To 
return NULL instead, use `try_cast`. If necessary set <config> to \"false\" to 
bypass this error." ],

Review Comment:
   What do you mean by "Correct the syntax for the value"? Do you mean "Correct 
the values as per the syntax"?



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