HanumathRao commented on code in PR #3640:
URL: https://github.com/apache/calcite/pull/3640#discussion_r1495187202
##########
core/src/test/java/org/apache/calcite/test/enumerable/EnumerableCorrelateTest.java:
##########
@@ -142,10 +142,10 @@ class EnumerableCorrelateTest {
tester(false, new HrSchema())
.query(
"select empid, name from emps e where exists (select 1 from depts
d where d.deptno=e.deptno)")
- .explainContains(""
- + "EnumerableCalc(expr#0..5=[{inputs}], empid=[$t0], name=[$t2])\n"
- + " EnumerableCorrelate(correlation=[$cor0], joinType=[inner],
requiredColumns=[{1}])\n"
- + " EnumerableTableScan(table=[[s, emps]])\n"
+ .explainContains("EnumerableCalc(expr#0..3=[{inputs}], empid=[$t0],
name=[$t2])\n "
Review Comment:
Sorry, I assumed that you have looked at the new test case added in JdbcTest
(testMultiLevelDecorrelation). If there is no RelFieldTrimmer fix then this new
testcase fails with same exception as reported in the JIRA.
--
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]