Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Below materialization matching fails now
@Test public void testDEV() { String sql0 = "select * from \"emps\" where \"empid\" < 300"; String sql1 = "select * from \"emps\" where \"empid\" > 200"; checkMaterialize(sql0 + " union all " + sql1, sql1 + " union all " + sql0); }
This issue proposes to add a rule for union matching
Attachments
Issue Links
- is related to
-
CALCITE-3396 Materialization matching succeeds when query and view are both of UNION but have different 'all' property
- Closed
- links to