You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/09/29 17:48:18 UTC
[GitHub] [spark] amaliujia commented on a diff in pull request #38050: [SPARK-40615][SQL] Check unsupported data types when decorrelating subqueries
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org