MaxGekk commented on code in PR #41858:
URL: https://github.com/apache/spark/pull/41858#discussion_r1254022894
##########
docs/sql-error-conditions-invalid-format-error-class.md:
##########
@@ -49,6 +49,10 @@ The escape character is not allowed to end with.
The escape character is not allowed to precede `<char>`.
+## MISMATCH_INPUT
+
+The input <inputType> '<input>' does not match the format.
Review Comment:
I think we should follow our convention and don't perform quoting in error
formats.
```suggestion
The input <inputType> <input> does not match the format.
```
##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -1186,6 +1191,11 @@
"The escape character is not allowed to precede <char>."
]
},
+ "MISMATCH_INPUT" : {
+ "message" : [
+ "The input <inputType> '<input>' does not match the format."
Review Comment:
nit:
```suggestion
"The input <inputType> <input> does not match the format."
```
--
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]