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:
[email protected]


With regards,
Apache Git Services

Reply via email to