#31566: Subquery in annotation is included by its alias and is not present in 
the
SELECT
-------------------------------------+-------------------------------------
     Reporter:  Gagaro               |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  3.0
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by felixxm):

 Simon, I can reproduce this at 46fe506445666d8097945f0c1e8be11cfd644b28,
 also with two `annotate()` calls.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31566#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/064.373cb0d30611c90b6c9d94667586af56%40djangoproject.com.

Reply via email to