Re: [Django] #30665: Add DISTINCT support for Avg, Sum, StdDev, and Variance aggregates. (was: Add DISTINCT support for Avg and Sum aggregates.)

2019-07-31 Thread Django
#30665: Add DISTINCT support for Avg, Sum, StdDev, and Variance aggregates.
-+-
 Reporter:  Étienne Beaulé   |Owner:  Étienne
 |  Beaulé
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Étienne Beaulé):

 Must disagree, felixxm. Neither `StdDev` nor `Variance` is in scope for
 this task as using the `DISTINCT` keyword on these aggregates is not as
 widely supported by SQL backends (such as Oracle). Supporting these would
 require more involved work. Some discussion was had about using
 `check_expression_support()` in
 [https://github.com/django/django/pull/9174 GH9174] but was dropped.

-- 
Ticket URL: 
Django 
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/066.c08bf06dcb3b293ef07aff58ba95b4eb%40djangoproject.com.


Re: [Django] #30665: Add DISTINCT support for Avg, Sum, StdDev, and Variance aggregates. (was: Add DISTINCT support for Avg and Sum aggregates.)

2019-07-31 Thread Django
#30665: Add DISTINCT support for Avg, Sum, StdDev, and Variance aggregates.
-+-
 Reporter:  Étienne Beaulé   |Owner:  Étienne
 |  Beaulé
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

-- 
Ticket URL: 
Django 
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/066.c2f321d8ee38f7dbd8404f66d7064d95%40djangoproject.com.