Re: [Django] #35124: Could bulk_update() aggregate the pk's in WHEN clauses?

13 views
Skip to first unread message

Django

unread,
Jan 18, 2024, 8:09:29 AM1/18/24
to django-...@googlegroups.com
#35124: Could bulk_update() aggregate the pk's in WHEN clauses?
-------------------------------------+-------------------------------------
Reporter: Vlada Macek | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

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


Comment:

Hello Vlada Macek, thank you for your ticket!

This issue tracker has the goal to track bugs about Django, so we often
ask contributors to post their questions and/or discuss Django internals
in the Django Forum instead. With that in mind, would you consider
starting a new conversation in the
[https://forum.djangoproject.com/c/internals/5 Django Internals category]?
You'll reach a wider audience and likely get extra feedback using that
approach.

I'll be closing this ticket as invalid following the
[https://docs.djangoproject.com/en/dev/internals/contributing/triaging-
tickets/#closing-tickets ticket triaging process], but if the forum
conversation reaches a conclusion that this is a desired change, please
come back to this issue pasting the link of the forum thread.

--
Ticket URL: <https://code.djangoproject.com/ticket/35124#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 18, 2024, 10:10:05 AM1/18/24
to django-...@googlegroups.com
#35124: Could bulk_update() aggregate the pk's in WHEN clauses?
-------------------------------------+-------------------------------------
Reporter: Vlada Macek | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Vlada Macek):

Thank you, Natalia.
Ok, while I don't see why this topic is **invalid** under the rules you
reference and I think I correctly used the Optimization type, I opened the
topic in the forum.

https://forum.djangoproject.com/t/could-bulk-update-aggregate-the-pks-in-
when-clauses/27093

--
Ticket URL: <https://code.djangoproject.com/ticket/35124#comment:3>

Django

unread,
Apr 24, 2024, 2:08:57 PM4/24/24
to django-...@googlegroups.com
#35124: Could bulk_update() aggregate the pk's in WHEN clauses?
-------------------------------------+-------------------------------------
Reporter: Vlada Macek | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia Bidart):

#35399 was a duplicate of this one.
--
Ticket URL: <https://code.djangoproject.com/ticket/35124#comment:4>
Reply all
Reply to author
Forward
0 new messages