You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/10/10 09:26:56 UTC

[GitHub] [calcite] jinxing64 opened a new pull request #1493: [CALCITE-3396] Materialization matching succeeds when query and view …

jinxing64 opened a new pull request #1493: [CALCITE-3396] Materialization matching succeeds when query and view …
URL: https://github.com/apache/calcite/pull/1493
 
 
   …are both of UNION but have different 'all' property (Jin Xing)
   
   ```
   Materialized-View:
   select * from emps where empid < 300
   union
   select * from emps where empid > 200
   
   Query:
   select * from emps where empid < 300
   union all
   select * from emps where empid > 200
   ```
   Above MV and Query have different 'all' property in UNION but they succeed matching now. 
   This PR proposes a check in `UnionToUnionUnifyRule`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services