Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
// code placeholder org.apache.calcite.test.MaterializedViewSubstitutionVisitorTest @Test void testRexCondition() { final String mv = "" + "select \"name\"\n" + "from \"emps\"\n" + "where \"deptno\" > 100 and \"deptno\" > 50\n" + "group by \"name\""; final String query = "" + "select \"name\"\n" + "from \"emps\"\n" + "where \"deptno\" > 100" + "group by \"name\""; sql(mv, query).withChecker( resultContains("" + "EnumerableTableScan(table=[[hr, MV0]])")).ok(); }
Materialized view failed to be matched by optimized results:Materialized view failed to be matched by optimized results: java.lang.AssertionError: Materialized view failed to be matched by optimized results: at org.apache.calcite.test.AbstractMaterializedViewTest.checkMaterialize(AbstractMaterializedViewTest.java:116) at org.apache.calcite.test.AbstractMaterializedViewTest.access$000(AbstractMaterializedViewTest.java:67) at org.apache.calcite.test.AbstractMaterializedViewTest$Sql.ok(AbstractMaterializedViewTest.java:229)
Attachments
Issue Links
- links to