#36860: Annotate after Union using django-cte breaks with django 5.2
-------------------------------------+-------------------------------------
Reporter: benjfield | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: 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 benjfield):
There doesn't look a direct alias call in django-cte, although it may well
do something that has the same effect. I've got a slightly gross
workaround for now in terms of annotating it to a different name and then
annotating it back after the aggregation.
--
Ticket URL: <https://code.djangoproject.com/ticket/36860#comment:3>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019bb6bd59b9-aa98b92e-7a00-4fcd-8760-d6067676ce4e-000000%40eu-central-1.amazonses.com.