MaxGekk commented on code in PR #36336:
URL: https://github.com/apache/spark/pull/36336#discussion_r859494336
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -105,6 +105,10 @@
"message" : [ "The fraction of sec must be zero. Valid range is [0, 60].
If necessary set <config> to false to bypass this error. " ],
"sqlState" : "22023"
},
+ "INVALID_FUNCTION_ARGUMENTS" : {
+ "message" : [ "Invalid <invalidType> of arguments for function
<functionName>. <message>" ],
Review Comment:
Could you use sub-classes here, see an example in
https://github.com/apache/spark/pull/36307
--
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]