xuzifu666 commented on code in PR #5169:
URL: https://github.com/apache/calcite/pull/5169#discussion_r3743393555


##########
core/src/test/resources/sql/new-decorr.iq:
##########
@@ -496,4 +496,39 @@ SELECT empno, (SELECT row_number() OVER (PARTITION BY 
dname ORDER BY emp.sal) FR
 
 !ok
 !}
+
+# [CALCITE-5413] Nested Subqueries with correlated variables are not 
decorrelated correctly
+# The innermost subquery correlates to both the outermost (e) and the middle 
(d) query levels.

Review Comment:
   I had add QuidemTest to cover it and result is expected with PostgreSQL: 
https://onecompiler.com/postgresql/44xqduwb9



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