MaxGekk commented on code in PR #38808:
URL: https://github.com/apache/spark/pull/38808#discussion_r1032999855
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -735,6 +735,11 @@
"The <joinType> JOIN with LATERAL correlation is not allowed because an
OUTER subquery cannot correlate to its join partner. Remove the LATERAL
correlation or use an INNER JOIN, or LEFT OUTER JOIN instead."
]
},
+ "INVALID_MAP_KEY" : {
Review Comment:
It is too generic for the error. How about `NULL_MAP_KEY`. cc @srielau
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -735,6 +735,11 @@
"The <joinType> JOIN with LATERAL correlation is not allowed because an
OUTER subquery cannot correlate to its join partner. Remove the LATERAL
correlation or use an INNER JOIN, or LEFT OUTER JOIN instead."
]
},
+ "INVALID_MAP_KEY" : {
+ "message" : [
+ "Cannot use null as map key!"
Review Comment:
```suggestion
"Cannot use null as map key."
```
--
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]