cloud-fan commented on a change in pull request #32503:
URL: https://github.com/apache/spark/pull/32503#discussion_r632312332
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala
##########
@@ -1445,4 +1445,10 @@ private[spark] object QueryCompilationErrors {
def operationNotSupportPartitioningError(operation: String): Throwable = {
new AnalysisException(s"'$operation' does not support partitioning")
}
+
+ def mixedRefInAggFunc(a: Expression): Throwable = {
+ val msg = "Found an aggregate function in a correlated predicate that has
both " +
+ "outer and local references, which is not supported: " + a.sql
Review comment:
I think aggregate fucntion is more user facing
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]