#36388: QuerySet.union no longer supports empty args
-------------------------------------+-------------------------------------
     Reporter:  Antoine Humeau       |                    Owner:  Colleen
                                     |  Dunlap
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  5.2
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * needs_better_patch:  0 => 1

Comment:

 Left some comments on the PR, the proposed approach generates an
 unnecessary `UNION` against itself that causes the improper results to be
 returned when `all` is used as they are not deduped.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36388#comment:7>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070196d57a0e23-5e740bd5-96aa-415a-8b96-0ba459a8e72d-000000%40eu-central-1.amazonses.com.

Reply via email to