Make dataset glob matching consistent across bindings

Aperta
#12,302 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
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
java, python, rust
Ambito
backend, data

Direzione di ricerca

Start by locating the shared filesystem glob matcher and the Python dataset discovery code that applies the second filter. Compare their handling of data-*/part.vortex and data-*/**/part.vortex, then update the shared matcher and remove the redundant Python filter. Add a shared regression test covering both patterns and update documentation for Rust, FFI, and Java callers.

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

Descrizione

The same dataset glob can select different files depending on the API. Given data-01/part.vortex and data-01/archive/part.vortex, Rust’s FileSystem::glob("data-*/part.vortex") selects both. Python’s dataset discovery applies a second filter and selects only the direct file. Switching APIs can therefore add archived rows to a scan.

Use the existing Python convention in the shared filesystem matcher. With the two files above, data-*/part.vortex should select only the direct file, and data-*/**/part.vortex should select both. Cover both patterns in a shared regression test, remove the redundant Python filter once the results agree, and document the change for Rust, FFI, and Java callers that currently rely on * crossing directories.

Follow-up to the glob discussion on #12198.

— Codex (OpenAI)

Lingua principale
Rust
Stelle
3.2k
Fork
239
Merge medio
1g 4h
PR unite (30g)
684

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 vortex-data/vortex

Tutte le issue di vortex-data/vortex

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.