Avoid casting run-end encoded Utf8 columns in LIKE / ILIKE

Aperta
#27,376 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@asubiotto ci sta già lavorando.

Dal 13/11/2026.

  • #27402 di @asubiotto — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by reading the LIKE/ILIKE expression handling in DataFusion and the linked apache/arrow-rs#12154 change, which the issue says must land first. Check how dictionary-encoded Utf8 columns avoid casting, then trace the equivalent run-end encoded path. Done when run-end encoded Utf8 and Dictionary(_, Utf8) inputs are kept uncast and LIKE matches each run once.

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

Descrizione

Is your feature request related to a problem or challenge?

LIKE/ILIKE on a run-end encoded Utf8 column casts it to Utf8 first, which expands every run and matches each row separately. Dictionary-encoded Utf8 columns already skip this cast.

Describe the solution you'd like

Once apache/arrow-rs#12154 lands, keep RunEndEncoded columns over Utf8 or Dictionary(_, Utf8) uncast, so LIKE matches each run once.

Describe alternatives you've considered

Keep the cast, and give up the benefit of the encoding.

Lingua principale
Rust
Stelle
9.6k
Fork
2.6k
Merge medio
3g 4h
PR unite (30g)
345

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 apache/datafusion

Tutte le issue di apache/datafusion

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.