Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Introducing WindowExpressionRules, for example:
select sum(sal) over (partition by deptno order by sal) from src where sal=5000
can be reduced to
select sum(5000) over (partition by deptno) from src where sal=5000
Attachments
Issue Links
- relates to
-
CALCITE-2658 Introducing more ReduceExpressionRules
- Closed
- links to