Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #29850 -- Increased window range support. #17401

Conversation

sarahboyce
Copy link
Contributor

@sarahboyce sarahboyce commented Oct 22, 2023

Ticket: https://code.djangoproject.com/ticket/29850

  • Support for positive integer start and negative integer end for RowRange.
  • Support for EXCLUDE CURRENT ROW, EXCLUDE GROUP, EXCLUDE TIES, EXCLUDE NO OTHERS

(I will push up tweaks while I also figure it out better in my head)

@sarahboyce sarahboyce force-pushed the ticket_29850_window_support_rowrange_frames branch from 851cf78 to 179d1db Compare October 22, 2023 14:24
@sarahboyce sarahboyce changed the title Refs 29850 -- Added support for both preceding and both following window ranges. Refs #29850 -- Added support for both preceding and both following window ranges. Oct 22, 2023
@sarahboyce sarahboyce force-pushed the ticket_29850_window_support_rowrange_frames branch 2 times, most recently from 7990221 to c1c3c3b Compare October 22, 2023 16:53
@sarahboyce sarahboyce changed the title Refs #29850 -- Added support for both preceding and both following window ranges. Refs #29850 -- Added support for positive integer start and negative integer end for RowRange. Oct 22, 2023
@sarahboyce sarahboyce marked this pull request as ready for review October 22, 2023 17:11
@sarahboyce sarahboyce force-pushed the ticket_29850_window_support_rowrange_frames branch from c1c3c3b to 8fe5c0a Compare October 25, 2023 15:32
@sarahboyce sarahboyce changed the title Refs #29850 -- Added support for positive integer start and negative integer end for RowRange. Fixed #29850 -- Added support for positive integer start and negative integer end for RowRange. Oct 25, 2023
@sarahboyce sarahboyce changed the title Fixed #29850 -- Added support for positive integer start and negative integer end for RowRange. Fixed #29850 -- Increased window range support. Oct 25, 2023
@sarahboyce sarahboyce force-pushed the ticket_29850_window_support_rowrange_frames branch 7 times, most recently from 5173329 to 029e6ec Compare October 25, 2023 18:46
@sarahboyce sarahboyce force-pushed the ticket_29850_window_support_rowrange_frames branch 2 times, most recently from 3786df9 to 83fc4d3 Compare October 27, 2023 06:54
docs/releases/5.1.txt Outdated Show resolved Hide resolved
@sarahboyce sarahboyce force-pushed the ticket_29850_window_support_rowrange_frames branch from 83fc4d3 to f278478 Compare October 28, 2023 08:32
@@ -171,6 +171,14 @@ Models
* :meth:`.QuerySet.explain` now supports the ``generic_plan`` option on
PostgreSQL 16+.

* :class:`~django.db.models.expressions.RowRange` now accept positive integers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* :class:`~django.db.models.expressions.RowRange` now accept positive integers
* :class:`~django.db.models.expressions.RowRange` now accepts positive integers

@felixxm
Copy link
Member

felixxm commented Oct 28, 2023

@sarahboyce Thanks 👍 I moved the first commit to the separate PR, #17422.

@sarahboyce
Copy link
Contributor Author

Superseded by #17423

@sarahboyce sarahboyce closed this Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants