Add window support for RowRange frames
— at Version 10
The current RowRange frame is missing handling for several cases.
None of the following are currently supported:
RowRange(start=-2, end=-1)
ROWS BETWEEN 2 PRECEDING AND 1 PRECEDING
RowRange(start=1, end=2)
ROWS BETWEEN 1 FOLLOWING AND 2 FOLLOWING
It's also missing support for EXCLUDE.
ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING EXCLUDE CURRENT ROW
Frame exclusion is supported in PostgreSQL 11+, SQLite 3.28+, and Oracle 21c+ other databases do not support exclusion (MariaDB doc, and MySQL doc).
Change History
(8)
| Summary: |
Poor Window Support for RowRange Frames → Add window support for RowRange frames
|
| Triage Stage: |
Unreviewed → Accepted
|
| Type: |
Uncategorized → New feature
|
| Description: |
modified (diff)
|
| Version: |
2.1 → master
|
| Description: |
modified (diff)
|
| Cc: |
Raphael Michel Mads Jensen added
|
| Description: |
modified (diff)
|
Exclusion is supported also on SQLite 3.28+ (see release notes).