MaxGekk commented on code in PR #41429:
URL: https://github.com/apache/spark/pull/41429#discussion_r1244063839


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1659,6 +1659,11 @@
       "Not allowed to implement multiple UDF interfaces, UDF class 
<className>."
     ]
   },
+  "NAMED_ARGUMENTS_SUPPORT_DISABLED" : {
+    "message" : [
+      "Cannot call function <functionName> because named argument references 
are not enabled here. In this case, the named argument reference was 
<argument>. Set spark.sql.allowNamedFunctionArguments to true to turn on 
feature."

Review Comment:
   ok, let's pass the config name from the code and quote it by `toSQLConf`. 
This works to me too.



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

Reply via email to