[ 
https://issues.apache.org/jira/browse/CALCITE-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jin xing reassigned CALCITE-3214:
---------------------------------

    Assignee: jin xing

> 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
>            Assignee: jin xing
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to