mihaibudiu commented on code in PR #5052:
URL: https://github.com/apache/calcite/pull/5052#discussion_r3486929355


##########
core/src/test/resources/sql/agg.iq:
##########
@@ -4301,4 +4301,128 @@ GROUP BY GROUPING SETS ((deptno), ());
 
 !ok
 
+# [CALCITE-6104] Aggregate function that references outer column should be 
evaluated in outer query
+# The expected results below have been verified in PostgreSQL by running

Review Comment:
   Thank you for the clarification. Maybe this SQL should not be accepted by 
default? There are these conformance modes, I think only modes like LENIENT or 
BABEL should accept this construct. 
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to