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


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -490,7 +490,7 @@
   },
   "UNRESOLVED_MAP_KEY" : {
     "message" : [
-      "Cannot resolve column <columnName> as a map key. If the key is a string 
literal, please add single quotes around it."
+      "Cannot resolve column <objectName> as a map key. If the key is a string 
literal, please add single quotes around it."

Review Comment:
   I renamed it because there is another error class which shares the same 
function in source code, and it has the same structure and the first parameter 
`objectName`. Having the same name simplifies the implementation.



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