#32277: Support nested aggregates in window expressions.
-------------------------------------+-------------------------------------
     Reporter:  Héctor Pablos        |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  window, aggregates   |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  closed => new
 * version:  3.0 => master
 * resolution:  needsinfo =>
 * stage:  Unreviewed => Accepted


Comment:

 Thanks for en example. It looks reasonable but an implementation can be
 tricky because all aggregations must be included in the `GROUP BY` clause.
 Tentatively accepted, however it may not be worth complexity. I would use
 a subquery for `user_comments_count` instead.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32277#comment:3>
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.8f56224a6b40382e093af6fd6682dfcb%40djangoproject.com.

Reply via email to