Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.27.0
Description
request like:
select e.deptno, (select * from lateral table(DEDUP(e.deptno, e.deptno))) from emp e;
shows 2 different correlates, while it only one.
LogicalProject(DEPTNO=[$7], EXPR$1=[$SCALAR_QUERY({ LogicalProject(NAME=[$0]) LogicalTableFunctionScan(invocation=[DEDUP($cor0.DEPTNO, $cor1.DEPTNO)], rowType=[RecordType(VARCHAR(1024) NAME)]) })]) LogicalTableScan(table=[[CATALOG, SALES, EMP]])
Attachments
Attachments
Issue Links
- is related to
-
CALCITE-1732 IndexOutOfBoundsException when using LATERAL TABLE with more than one field
- Closed
-
CALCITE-4913 Correlated variables in a select list are not deduplicated
- Closed
- Testing discovered
-
CALCITE-4718 Erroneous correlate variables in case of using collect sub-queries into ARRAY, MAP and MULTISET.
- Open
- links to