Aggregation failing after index schema update

Aperta
#6,130 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
backend, databases

Direzione di ricerca

Riproduci il problema creando un indice con un campo test non veloce, acquisendo dati, abilitando i campi veloci, acquisendo altri dati ed eseguendo un'aggregazione. Traccia gli aggiornamenti dello schema, l'acquisizione e l'aggregazione negli split vecchi e nuovi; il lavoro è completato quando l'aggregazione ha esito positivo trattando gli split vecchi come dati mancanti.

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

Descrizione

bug

Describe the bug
We have had an index on which we defined a text field change with fast: false , this index already has data. We could not perform aggregation queries on it. When we attempted aggregation queries on it we got this error:

{ ERROR quickwit_search::error: search internal error: search failed for the following splits:  x, y, z,  . For instance, split x failed with the following error message: internal error: `An invalid argument was passed: 'Field \"change\" is not configured as fast field'`"}

We have now updated the schema to set fast: true so we could perform aggregation even if old split will be considered as missing data. however we still the same error after changing the schema and ingesting new data.

{ ERROR quickwit_search::error: search internal error: search failed for the following splits:  x, y, z,  . For instance, split x failed with the following error message: internal error: `An invalid argument was passed: 'Field \"change\" is not configured as fast field'`"}

Steps to reproduce (if applicable)
Steps to reproduce the behavior:

  1. create an index with a field test that's is not fast-field
  2. ingest some data
  3. change the schema to make the field test fast-fields
  4. ingest more data
  5. attempt to make aggregation query on the field test
  6. You should be able to observe the reported error

Expected behaviour
We expected after the schema update, that aggregation queries on change field should work although it will not take into account old split on which fast-field was not enabled on the change field.

Lingua principale
Rust
Stelle
11.8k
Fork
628
Merge medio
2g 22h
PR unite (30g)
50

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 quickwit-oss/quickwit

Tutte le issue di quickwit-oss/quickwit

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.