IGNORE NULLS for window functions
RESPECT/IGNORE NULLS null treatment for window functions.
Versions
- PostgreSQL 19 · shipped · new · moderate · 6 commits · +1.3k / -157 lines
- PostgreSQL 18 · worked-on · new · moderate
- PostgreSQL 16 · worked-on · new · moderate
- PostgreSQL 13 · worked-on · new · moderate
- PostgreSQL 12 · worked-on · new · moderate
Threads
- BUG #19870: WinGetFuncArgInPartition(..., WINDOW_SEEK_TAIL, ...) returns wrong rows under IGNORE NULLS
- first_value()/nth_value() with IGNORE NULLS loop forever (EXCLUDE GROUP/TIES, frame past partition end, no ORDER BY)
- nodeWindowAgg.c IGNORE NULLS abs overflow
- Fix duplicate detection for null-treatment window functions
- IGNORE/RESPECT NULLS can be specified for (prokind == 'f').
- Should IGNORE NULLS cache nullness for volatile arguments?
- Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options
- Fix for compiler warning triggered in WinGetFuncArgInPartition()
- User defined window functions calling WinGetFuncArgInPartition/WINDOW_SEEK_HEAD
- Questionable result from lead(0) IGNORE NULLS
- Fix misuse use of window_gettupleslot function (src/backend/executor/nodeWindowAgg.c)
- Re: Implement <null treatment> for window functions
- Implement <null treatment> for window functions
- [PATCH] respect/ignore nulls for lag,lead,first_value,last_value and nth_value and from first/last for nth_value
- Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls