#27767: Support DISTINCT queries in ArrayAgg
--------------------------------------------+------------------------
               Reporter:  Tom               |          Owner:  (none)
                   Type:  New feature       |         Status:  new
              Component:  contrib.postgres  |        Version:  master
               Severity:  Normal            |       Keywords:
           Triage Stage:  Unreviewed        |      Has patch:  0
    Needs documentation:  0                 |    Needs tests:  0
Patch needs improvement:  0                 |  Easy pickings:  0
                  UI/UX:  0                 |
--------------------------------------------+------------------------
 It's sometimes useful to run DISTINCT over an ArrayAgg, I've made a rather
 simple pull request that implements this here:
 [https://github.com/django/django/pull/7932]

 I notice there are a few aggregates now that support Distinct (Count,
 StringAgg and hopefully ArrayAgg). It might be good to make a subclass
 they inherit from, instead of duplicating the implementation?

 If this is deemed a good idea I can add some documentation changes and any
 changes that are requested.

--
Ticket URL: <https://code.djangoproject.com/ticket/27767>
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/046.dcd0c5f6b8d88478e7b3347d2a56d821%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to