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

Yu Xu resolved CALCITE-7701.
----------------------------
    Fix Version/s: 1.43.0
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/0fab5b3e6ac44dccb85c966ea4f194db963c4b66]

Thank you for the review [~mbudiu] 

> Support IGNORE NULLS for FIRST_VALUE/LAST_VALUE window functions in the 
> enumerable convention
> ---------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-7701
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7701
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.42.0
>            Reporter: Yu Xu
>            Assignee: Yu Xu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.43.0
>
>
> Currently EnumerableWindow rejected any windowed aggregate that used the 
> `IGNORE NULLS` option with a blanket "IGNORE NULLS not supported"
>   `UnsupportedOperationException` at code-generation time. 
> eg:
> {code:java}
> FIRST_VALUE(x) IGNORE NULLS OVER (ORDER BY y ROWS 1 PRECEDING) {code}
> the SQL above can be parsed, validated and converted to relational algebra 
> successfully, but failed during physical implementation in the enumerable 
> convention.
>  



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

Reply via email to