Yu Xu created CALCITE-7701:
------------------------------
Summary: 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
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)