#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
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton.gibson@…>):

 In [changeset:"92acf1022fb13a7a8b1ff7cdfe72c21050c1e4e7" 92acf102]:
 {{{
 #!CommitTicketReference repository=""
 revision="92acf1022fb13a7a8b1ff7cdfe72c21050c1e4e7"
 [3.0.x] 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.
 Backport of 3a941230c85b2702a5e1cd97e17251ce21057efa from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31584#comment:6>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.1e0947d91a803257d5af0df5422770ac%40djangoproject.com.

Reply via email to