Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.20.0
Description
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
SELECT LAG("employee_id", 2) IGNORE NULLS OVER (ORDER BY "hire_date") FROM "employee"
It lost `IGNORE NULLS `
SELECT LAG("employee_id", 2) OVER (ORDER BY "hire_date") FROM "employee"
Attachments
Issue Links
- is caused by
-
CALCITE-883 Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE and NTH_VALUE window functions
- Closed
- links to