Need jsonb support for name fields.

Aperta
#3,123 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
postgresql, python
Ambito
database

Direzione di ricerca

The payload names no files or tests. The error is PostgreSQL rejecting a gin_trgm_ops index on a jsonb column, which suggests the index is created from a field definition in Python. First reproduce the error by creating a trigram GIN or GiST index on a jsonb translated name field, then find where the index is declared. Done means either the index builds for jsonb name fields or the limitation is documented with a clear workaround. The thread has no maintainer reply, so confirm the intended behaviour before writing code.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

when i try create index for product.template name field. Error appear;
GIN or GIST same.

psycopg2.errors.DatatypeMismatch: operator class "gin_trgm_ops" does not accept data type jsonb

Lingua principale
Python
Stelle
960
Fork
1.7k
Merge medio
7g 2h
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OCA/server-tools

Tutte le issue di OCA/server-tools

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.