#29622: Indexes on JSONB paths fail system checks in 2.1
--------------------------------------+------------------------------------
     Reporter:  James Howe            |                    Owner:  nobody
         Type:  Bug                   |                   Status:  new
    Component:  Core (System checks)  |                  Version:  2.1
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Simon Charette):

 * severity:  Release blocker => Normal


Comment:

 This is not a release blocker in this case.

 @Josh I don't think we should ship a special index for this case. #26167
 will add support for functional indices where the above will be
 expressible using `KeyTransform`s.

 Not sure if this ticket should be closed as duplicate of #26167 or a new
 ticket should be opened (or this one renamed) to add support for string
 transforms to `Index` to reduce the boiler plate required to define a
 functional index.

 e.g.

 - `Index('join_date__year')` instead of `Index(ExtractYear('join_date'))`
 - `Index('json_field__property')` instead of
 `Index(KeyTransform('property', 'json_field'))`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29622#comment:5>
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/067.adf0b90f61d23f914e1f528c6c162874%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to