itholic commented on code in PR #39543:
URL: https://github.com/apache/spark/pull/39543#discussion_r1083266330


##########
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:
   Seems like we can integrate it into 
`MUST_AGGREGATE_CORRELATED_SCALAR_SUBQUERY`.
   
   I don't see any difference between two errors.
   
   Let me handle it in separate ticket just in case if someone could argue.



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

Reply via email to