itholic commented on code in PR #39625:
URL: https://github.com/apache/spark/pull/39625#discussion_r1073135508
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1719,7 +1708,7 @@
},
"WRONG_NUM_ARGS" : {
"message" : [
- "Invalid number of arguments for the function <functionName>."
+ "The <functionName> requires <expectedNum> parameters but the actual
number is <actualNum>."
],
"subClass" : {
"WITHOUT_SUGGESTION" : {
Review Comment:
Honestly, I think `expectedNum` and `actualNum` are sort of basic
information rather than a suggestion.
That's why I put them into main error class instead of sub error classes.
--
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]