[
https://issues.apache.org/jira/browse/CALCITE-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-3214:
------------------------------------
Labels: pull-request-available (was: )
> Add UnionToUnionRule for materialization matching
> -------------------------------------------------
>
> Key: CALCITE-3214
> URL: https://issues.apache.org/jira/browse/CALCITE-3214
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: jin xing
> Priority: Major
> Labels: pull-request-available
>
> Below materialization matching fails now
> {code:java}
> @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);
> }
> {code}
> This issue proposes to add a rule for union matching
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)