#32032: Aggregate on union of querysets generates invalid SQL
-------------------------------------+-------------------------------------
Reporter: Jaap Roes | Owner: nobody
Type: New feature | Status: closed
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: aggregate union | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by felixxm):
> Sad to see this closed as a duplicate of #28519. I feel this ticket is
much more narrowly scoped and Django seems to be almost capable of doing
the right thing so it seems like an easier fix/addition.
Closing as a duplicate doesn't changes much, we can still add support only
for `aggregate()` as a part of #28519.
> Hopefully this doesn't get "fixed" in a way similar to #27995 as that
would most likely break my workaround****
That's why I didn't propose to raise an error.
--
Ticket URL: <https://code.djangoproject.com/ticket/32032#comment:4>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.71e6eeea2473eb4474e63575bb773fbd%40djangoproject.com.