#35399: Reduce the "Case-When" sequence for a bulk_update when the values for a
certain field are the same.
-------------------------------------+-------------------------------------
     Reporter:  Willem Van Onsem     |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  5.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  duplicate
     Keywords:  db, bulk_update,     |             Triage Stage:
  case, when                         |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * resolution:   => duplicate
 * status:  new => closed

Comment:

 This was discussed in #35124 recently and at lead to
 [https://forum.djangoproject.com/t/could-bulk-update-aggregate-the-pks-in-
 when-clauses/27093/2 this discussion] about the complexity of and cost of
 hashing certain values quickly. Unless you can provide benchmarks that
 this is actually faster I think time is better invested towards #29771 and
 #31202.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35399#comment:1>
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/0107018f0bc3cfe2-4236a9c1-fc63-4ba4-913c-10f06c6768ff-000000%40eu-central-1.amazonses.com.

Reply via email to