#30262: Do not create GROUP BY clause expressions for Subqueries
-------------------------------------+-------------------------------------
Reporter: Paul | Owner: nobody
Wayper |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: 2.1
layer (models, ORM) |
Severity: Normal | Keywords: group by
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
A Subquery in an annotation on a queryset can contains its own aggregate
functions (e.g. COUNT) on the subquery's fields. However, these
subqueries do not need to be included as GROUP BY clauses in the original
query.
--
Ticket URL: <https://code.djangoproject.com/ticket/30262>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.324342f5a088c22b25d52a750cc7442a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.