iwanttobepowerful commented on code in PR #4659:
URL: https://github.com/apache/calcite/pull/4659#discussion_r2605087925


##########
core/src/test/resources/sql/sub-query.iq:
##########
@@ -5504,5 +5504,151 @@ WHERE EXISTS
 +-----+
 (2 rows)
 
+!ok
+
+# [CALCITE-7257] Subqueries cannot be decorrelated if join condition contains 
RexFieldAccess
+SELECT E1.ENAME
+FROM EMP E1
+WHERE
+  E1.SAL > (SELECT D1.DEPTNO FROM
+      DEPT D1 JOIN EMP E2

Review Comment:
   need add test cases that have other join type



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