xinrong-meng commented on code in PR #45098:
URL: https://github.com/apache/spark/pull/45098#discussion_r1489921713
##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -7767,6 +7767,76 @@
"Single backslash is prohibited. It has special meaning as beginning of
an escape sequence. To get the backslash character, pass a string with two
backslashes as the delimiter."
]
},
+ "_LEGACY_ERROR_TEMP_3249" : {
+ "message" : [
+ "Failed to convert value <value> (class of <valueClass>}) with the type
of <dataType> to JSON."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_3250" : {
+ "message" : [
+ "Failed to convert the JSON string '<other>' to a field."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_3251" : {
+ "message" : [
+ "Failed to convert the JSON string '<other>' to a data type."
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_3252" : {
+ "message" : [
+ "<name> does not exist. Available: <fieldNames>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_3253" : {
+ "message" : [
+ "<nonExistFields> do(es) not exist. Available: <fieldNames>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_3254" : {
+ "message" : [
+ "<name> does not exist. Available: <fieldNames>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_3255" : {
+ "message" : [
+ "Error parsing '<input>' to interval, <msg>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_3256" : {
+ "message" : [
+ "Unrecognized datetime pattern: <pattern>"
+ ]
+ },
+ "_LEGACY_ERROR_TEMP_3257" : {
+ "message" : [
+ "All week-based patterns are unsupported since Spark 3.0, detected: <c>,
Please use the SQL function EXTRACT instead"
Review Comment:
nit: punctuation in `detected: <c>, Please` could be improved, feel free to
ignore though :)
--
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]