#31584: Queryset crashes when grouping by Exists() on Oracle.
-------------------------------------+-------------------------------------
Reporter: felixxm | Owner: felixxm
Type: Bug | Status: closed
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: oracle exists | Triage Stage: Ready for
boolean | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"3a941230c85b2702a5e1cd97e17251ce21057efa" 3a94123]:
{{{
#!CommitTicketReference repository=""
revision="3a941230c85b2702a5e1cd97e17251ce21057efa"
Fixed #31584 -- Fixed crash when chaining values()/values_list() after
Exists() annotation and aggregation on Oracle.
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in
the GROUP BY clause.
Regression in efa1908f662c19038a944129c81462485c4a9fe8.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31584#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/065.499d93b22ea02f72f2da4581cd7df68d%40djangoproject.com.