amaliujia commented on code in PR #38050:
URL: https://github.com/apache/spark/pull/38050#discussion_r983857444


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -888,6 +888,11 @@
         "message" : [
           "IN/EXISTS predicate subqueries can only be used in filters, joins, 
aggregations, window functions, projections, and UPDATE/MERGE/DELETE 
commands<treeNode>"
         ]
+      },
+      "UNSUPPORTED_OUTER_REFERENCE_DATA_TYPE" : {
+        "message" : [
+          "Correlated column references do not support data type <dataType>: 
<expr>"

Review Comment:
   Nit: I found it was a bit confusing to read the error message instance: 
`Correlated column references do not support data type map<string,int>: v1.x`. 
   
   Basically  `v1.x` as an expression was not clear in the error message.
   
   For example to me this is more clear: `Correlated column references do not 
support expression v1.x due to unsupported data type map<string,int>`. 
Something like this.



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