[ 
https://issues.apache.org/jira/browse/CALCITE-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu resolved CALCITE-6569.
----------------------------------
    Fix Version/s: 1.38.0
       Resolution: Fixed

Fixed in 
https://github.com/apache/calcite/commit/644e29f867dd1d7a8117fecf5f30c0e1fd3a7091
Thank you for the contribution [~jiajunbernoulli] and for the reviews 
[~caicancai][~suibianwanwan3333] github user YiwenWu

> RelToSqlConverter support IGNORE NULLS for window functions
> -----------------------------------------------------------
>
>                 Key: CALCITE-6569
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6569
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.20.0
>            Reporter: Jiajun Xie
>            Assignee: Jiajun Xie
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.38.0
>
>
> CALCITE-883(https://issues.apache.org/jira/browse/CALCITE-883) Support  
> IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE and NTH_VALUE 
> window functions.
> But RelToSqlConverter not support them, IGNORE NULLS will be lost.
>  
> For example
>  
> {code:java}
> SELECT LAG("employee_id", 2) IGNORE NULLS OVER (ORDER BY "hire_date") 
> FROM "employee"{code}
>  
> It lost `IGNORE NULLS `
> {code:java}
> SELECT LAG("employee_id", 2) OVER (ORDER BY "hire_date") 
> FROM "employee"{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to