cloud-fan commented on a change in pull request #35272:
URL: https://github.com/apache/spark/pull/35272#discussion_r789618372



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -99,6 +92,10 @@
   "INVALID_JSON_SCHEMA_MAPTYPE" : {
     "message" : [ "Input schema %s can only contain StringType as a key type 
for a MapType." ]
   },
+  "INVALID_PARAMETER_VALUE" : {
+    "message" : [ "Invalid parameter value of '%s' in '%s'. %s" ],

Review comment:
       how about `The value of parameter '%s' in %s is invalid: %s`. Then we 
can have something like
   `The value of parameter 'key' in function 'aes_encrypt/aes_decrypt' is 
invalid: expects a binary value with 16, 24 or 32 bytes, but got 9 bytes.`
   




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