Repository: calcite Updated Branches: refs/heads/master d0a119d50 -> e365eabc6
[CALCITE-2220] SqlToRelConverter generates incorrect ordinal while flattening a record-valued field * Fixes test failure Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/e365eabc Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/e365eabc Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/e365eabc Branch: refs/heads/master Commit: e365eabc65bf75506904fa4c77e8d49d3536a7d5 Parents: d0a119d Author: Jesus Camacho Rodriguez <[email protected]> Authored: Thu Mar 29 17:21:38 2018 -0700 Committer: Jesus Camacho Rodriguez <[email protected]> Committed: Thu Mar 29 17:25:06 2018 -0700 ---------------------------------------------------------------------- .../resources/org/apache/calcite/test/SqlToRelConverterTest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite/blob/e365eabc/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml ---------------------------------------------------------------------- diff --git a/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml b/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml index 6fd5657..1aa0bf5 100644 --- a/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml +++ b/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml @@ -365,8 +365,8 @@ window w as (partition by productId)]]> </Resource> <Resource name="plan"> <![CDATA[ -LogicalProject(EXPR$0=[DOT(ITEM(DOT(DOT(ITEM($2, 1), 'DETAIL'), 'SKILLS'), +(2, 3)), 'DESC')]) - LogicalProject(DEPTNO=[$0], NAME=[$1], TYPE=[$2.TYPE], DESC=[$2.DESC], EMPLOYEES=[$3]) +LogicalProject(EXPR$0=[DOT(ITEM(DOT(DOT(ITEM($6, 1), 'DETAIL'), 'SKILLS'), +(2, 3)), 'DESC')]) + LogicalProject(DEPTNO=[$0], NAME=[$1], TYPE=[$2.TYPE], DESC=[$2.DESC], A=[$2.OTHERS.A], B=[$2.OTHERS.B], EMPLOYEES=[$3]) LogicalTableScan(table=[[CATALOG, SALES, DEPT_NESTED]]) ]]> </Resource>
