itholic commented on code in PR #38646:
URL: https://github.com/apache/spark/pull/38646#discussion_r1021411839


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1044,7 +1044,7 @@
   },
   "UNRESOLVED_MAP_KEY" : {
     "message" : [
-      "Cannot resolve column <objectName> 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, add single quotes around it: '<object_name>'."

Review Comment:
   Oh... I see.
   
   Just updated the PR description.
   
   Maybe we can just remove the example in the error message since the printing 
message like  ``` '`a`' ``` could confuse ??



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