Re: [Django] #34798: Subquery wrapping is required in QuerySet.aggregate() for aggregates referencing nested subquery. (was: Using Django 4.2 with MSSQL 2019 Aggregation Containing Subquery Fails)

3 views
Skip to first unread message

Django

unread,
Oct 5, 2023, 12:00:50 AM10/5/23
to django-...@googlegroups.com
#34798: Subquery wrapping is required in QuerySet.aggregate() for aggregates
referencing nested subquery.
-------------------------------------+-------------------------------------
Reporter: Haldun Komsuoglu | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: MSSQL, Aggregation, | Triage Stage: Accepted
Subquery |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: closed => new
* resolution: invalid =>
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted


Comment:

Simon, thanks for the extra details! As far as I'm aware it's a regression
in 59bea9efd2768102fc9d3aedda469502c218e9b7.

--
Ticket URL: <https://code.djangoproject.com/ticket/34798#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages