srielau commented on code in PR #41864:
URL: https://github.com/apache/spark/pull/41864#discussion_r1263145242
##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -1893,6 +1911,12 @@
"Not allowed to implement multiple UDF interfaces, UDF class
<className>."
]
},
+ "NAMED_ARGUMENTS_NOT_SUPPORTED" : {
+ "message" : [
+ "Named arguments are not supported for function <functionName>; please
retry the query with positional arguments to the function call instead."
Review Comment:
```suggestion
"NAMED_PARAMETERS_NOT_SUPPORTED" : {
"message" : [
"Named parameters are not supported for function <functionName>;
please retry the query with positional arguments to the function call instead."
```
##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -1893,6 +1911,12 @@
"Not allowed to implement multiple UDF interfaces, UDF class
<className>."
]
},
+ "NAMED_ARGUMENTS_NOT_SUPPORTED" : {
+ "message" : [
+ "Named arguments are not supported for function <functionName>; please
retry the query with positional arguments to the function call instead."
+ ],
+ "sqlState" : "4274K"
+ },
"NAMED_ARGUMENTS_SUPPORT_DISABLED" : {
Review Comment:
```suggestion
"NAMED_PARAMETER_SUPPORT_DISABLED" : {
```
--
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]