Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The following query does not populate correlate id in the project when SqlToRel.expand=false:
SELECT SUM( (select char_length(dname) from "scott".dept where dept.deptno = emp.empno)) as s FROM "scott".emp
Having the correlate id populated is important for expanding nested queries.
Attachments
Issue Links
- blocks
-
CALCITE-5418 Nested Queries are not expanded properly
- Open
- relates to
-
CALCITE-5421 SqlToRelConverter should populate correlateId for join with correlated query in HAVING condition
- Open