Opened 4 years ago
Closed 4 years ago
#32895 closed New feature (duplicate)
Incorrectly disallowing negative integer for window range end
| Reported by: | henribru | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 3.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In window_frame_end Django is currently enforcing that the end argument of ValueRange and RowRange can't be a negative integer. However, according to the Postgres documentation, "value PRECEDING" is allowed for "frame_end", so a negative integer is equally valid for end as it is for start.
Change History (1)
comment:1 by , 4 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
| Type: | Uncategorized → New feature |
Note:
See TracTickets
for help on using tickets.
Duplicate of #29850 which mentions a negative
startandend.