Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
select * from emp where deptno = 10 union select * from emp where 1=0
should be optimized to :
select distinct * from emp where deptno = 10
but now is:
select * from emp where deptno = 10
Attachments
Issue Links
- is related to
-
CALCITE-6953 Extend UnionEliminatorRule to support Intersect and Minus
-
- Closed
-
- links to