#23877: Aggregation over subquery doesn't ensure the subquery has needed columns
-------------------------------------+-------------------------------------
     Reporter:  akaariai             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:  fixed
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"bd337184f1b4901abdfd07b0219d6b9b45d0de2f"]:
 {{{
 #!CommitTicketReference repository=""
 revision="bd337184f1b4901abdfd07b0219d6b9b45d0de2f"
 Fixed #23877 -- aggregation's subquery missed target col

 Aggregation over subquery produced syntactically incorrect queries in
 some cases as Django didn't ensure that source expressions of the
 aggregation were present in the subquery.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23877#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.13e07a5f8b56521c69899c4111be3079%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to