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/11/14 03:26:39 UTC
[GitHub] [spark] itholic commented on a diff in pull request #38576: [SPARK-41062][SQL] Rename `UNSUPPORTED_CORRELATED_REFERENCE` to `CORRELATED_REFERENCE`
itholic commented on code in PR #38576:
URL: https://github.com/apache/spark/pull/38576#discussion_r1021045305
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1277,6 +1277,11 @@
"A correlated outer name reference within a subquery expression body was not found in the enclosing query: <value>"
]
},
+ "CORRELATED_REFERENCE" : {
+ "message" : [
+ "Expressions referencing the outer query are not supported outside of WHERE/HAVING clauses<treeNode>"
Review Comment:
@MaxGekk May I ask if there is any way to extract the SQL expr from LogicalPlan ??
I'm trying to switch `planToString(p)` to SQL expression but still not sure how.
--
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