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 2023/01/20 06:52:53 UTC

[GitHub] [spark] cloud-fan commented on a diff in pull request #39543: [SPARK-42044][SQL] Fix incorrect error message for `MUST_AGGREGATE_CORRELATED_SCALAR_SUBQUERY`

cloud-fan commented on code in PR #39543:
URL: https://github.com/apache/spark/pull/39543#discussion_r1082159637


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1592,7 +1592,7 @@
       },
       "MUST_AGGREGATE_CORRELATED_SCALAR_SUBQUERY" : {
         "message" : [
-          "Correlated scalar subqueries in the GROUP BY clause must also be in the aggregate expressions<treeNode>"
+          "Correlated scalar subqueries must be aggregated to return at most one row."

Review Comment:
   not related to this PR, but how is this different from `MUST_AGGREGATE_CORRELATED_SCALAR_SUBQUERY_OUTPUT`?



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