andylam-db commented on code in PR #46708: URL: https://github.com/apache/spark/pull/46708#discussion_r1610751224
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -4731,6 +4731,11 @@ "<treeNode>" ] }, + "UNSUPPORTED_CORRELATED_EXPRESSION_IN_JOIN_CONDITION": { + "message" : [ + "Correlated subqueries in the join predicate cannot reference both join inputs." + ] Review Comment: It's passed as a parameter when the error is thrown, here https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/subquery.scala#L216-L217 -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org