[ 
https://issues.apache.org/jira/browse/CALCITE-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16803581#comment-16803581
 ] 

Haisheng Yuan commented on CALCITE-2729:
----------------------------------------

Pushed to master. Thanks, [~Chunwei Lei]!

> Introducing WindowReduceExpressionRule
> --------------------------------------
>
>                 Key: CALCITE-2729
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2729
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Chunwei Lei
>            Assignee: Chunwei Lei
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.20.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to