MaxGekk commented on code in PR #38332:
URL: https://github.com/apache/spark/pull/38332#discussion_r1002667108
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -143,6 +143,11 @@
"Offset expression <offset> must be a literal."
]
},
+ "INVALID_ELEMENT_TYPE" : {
+ "message" : [
+ "Input to function <functionName> cannot contain elements of
<elementType>. <message>"
Review Comment:
Let's don't pass `message`, and introduce more specific error class which
includes the 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]