srielau commented on code in PR #39625:
URL: https://github.com/apache/spark/pull/39625#discussion_r1072499199


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1729,7 +1718,8 @@
       },
       "WITH_SUGGESTION" : {
         "message" : [
-          "Consider to change the number of arguments because the function 
requires <expectedNum> parameters but the actual number is <actualNum>."
+          "The <functionName> requires <expectedNum> parameters but the actual 
number is <actualNum>.",
+          "If you have to call this function with <legacyNum> parameters, set 
the legacy configuration <legacyConfKey> to <legacyConfValue>."

Review Comment:
   You are repeating the general error class message.



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