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: [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]