#30158: Subquery expressions unnecessarily added to group by
-------------------------------------+-------------------------------------
     Reporter:  Jonny Fuller         |                    Owner:  Simon
         Type:                       |  Charette
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  subquery, group_by   |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"c6350d594c359151ee17b0c4f354bb44f28ff69e" c6350d5]:
 {{{
 #!CommitTicketReference repository=""
 revision="c6350d594c359151ee17b0c4f354bb44f28ff69e"
 Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().

 Recent refactors allowed GROUP BY aliasing allowed for aliasing to be
 entirely handled by the sql.Query.set_group_by and compiler layers.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30158#comment:20>
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/01070183ad255586-7b906ad1-fda2-4c65-a36f-86deda35e1d2-000000%40eu-central-1.amazonses.com.

Reply via email to