You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "srielau (via GitHub)" <gi...@apache.org> on 2023/07/13 23:51:00 UTC

[GitHub] [spark] srielau commented on a diff in pull request #41864: [SPARK-44059] Add analyzer support of named arguments for built-in functions

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org