#30209: Union with group by don't generate correct Subquery
-------------------------------------+-------------------------------------
Reporter: Nikolas | Owner: Can
| Sarıgöl
Type: Bug | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: union, group by | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: assigned => closed
* resolution: => duplicate
Comment:
A proper exception when calling `annotate()` after `union()`,
`intersection()`, and `difference()` was added in
1853383969a4c53bbeba998757c30410bd3df4bb.
Closing as a duplicate of #28519.
--
Ticket URL: <https://code.djangoproject.com/ticket/30209#comment:14>
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/069.a3f071ed72b0c4e41cbbd16be6c10d1b%40djangoproject.com.