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

Fang-Yu Rao commented on IMPALA-14127:
--------------------------------------

We found that "{{SELECT last_value(tinyint_col) IGNORE NULLS OVER (ORDER BY 
tinyint_col ASC) FROM functional_parquet.alltypesagg WHERE id < 5}}" is 
supported already so we may need to revise Calcite's 
[Parser.jj|https://github.com/apache/impala/blob/master/java/calcite-planner/src/main/codegen/templates/Parser.jj].

> Support IGNORE NULLS for functions
> ----------------------------------
>
>                 Key: IMPALA-14127
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14127
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Fang-Yu Rao
>            Assignee: Fang-Yu Rao
>            Priority: Major
>
> Currently the following query that has "{{{}IGNORE NULLS{}}}" as part of a 
> function parameter is not supported by the Calcite planner in Impala. It 
> would be good to support it.
> {code:java}
> SELECT last_value(tinyint_col IGNORE NULLS) OVER (ORDER BY tinyint_col ASC) 
> FROM functional_parquet.alltypesagg WHERE id < 5
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to