MaxGekk commented on code in PR #36064: URL: https://github.com/apache/spark/pull/36064#discussion_r846678166
########## core/src/main/resources/error/error-classes.json: ########## @@ -166,6 +175,9 @@ "message" : [ "The second argument of '%s' function needs to be an integer." ], "sqlState" : "22023" }, + "UDF_WITH_TOO_MANY_TYPE_ARGUMENT_ERROR" : { + "message" : [ "UDF class with %s type arguments is not supported" ] + }, Review Comment: Actually, this indicates about a restriction of Spark SQL implementation. Could you use the error class `UNSUPPORTED_FEATURE` and output the error message like ``` The feature is not supported: UDF class with 33 arguments. ``` -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org