#35777: MySQL: cannot add key limited index on TEXT columns
-------------------------------------+-------------------------------------
Reporter: Tobias Krönke | Owner: ishaan-
| sangwan
Type: New feature | Status: closed
Component: Database layer | Version:
(models, ORM) |
Severity: Normal | Resolution: wontfix
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):
* component: Migrations => Database layer (models, ORM)
* resolution: => wontfix
* stage: Accepted => Unreviewed
* status: assigned => closed
* type: Uncategorized => New feature
* version: 5.0 =>
Comment:
Hello ishaan-sangwan and Tobias!
Thank you for your interest in making Django better. I'm afraid we can't
accept this ticket yet, we may need to gather some consensus from the
community before going ahead and adding this new index. To me, this feels
a niche use case and thus I don't think this applies to the broader
ecosystem, and Django is a framework designed to offer robust and accurate
solutions for common scenarios.
If we would add a new index class, we should consider supporting all the
DB backends that Django supports, not just MySQL. If we can't support all
backends, I'm not sure it' a good idea to add this to Django. From a quick
search, I'm not sure if this is possible?
To fully evaluate this, the recommended path forward is to first propose
and discuss the idea with the community and gain consensus. To do that,
please consider starting a new conversation on the
[
https://forum.djangoproject.com/c/internals/5 Django Forum], where you'll
reach a broader audience and receive additional feedback. Please be sure
to add details about how this new index would look like for the other DB
backends.
I'll close the ticket for now, but if the community agrees with the
proposal, please return to this ticket and reference the forum discussion
so we can re-open it. For more information, please refer to
[
https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#requesting-features the documented guidelines for requesting
features].
--
Ticket URL: <
https://code.djangoproject.com/ticket/35777#comment:8>