MaxGekk commented on code in PR #38646:
URL: https://github.com/apache/spark/pull/38646#discussion_r1029135409
##########
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:
> Maybe we can just remove the example in the error message
ok. Let's remove the example. You can show which quotes to add:
```
"Cannot resolve column <objectName> as a map key. If the key is a
string literal, add the single quotes '' around it."
```
--
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]