Make dataset glob matching consistent across bindings

Offen
#12,302 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
72/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
java, python, rust
Bereich
backend, data

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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)

Vorherrschende Sprache
Rust
Sterne
3.2k
Forks
239
Ø Merge
1 T. 4 Std.
Gemergte PRs (30 T.)
684

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus vortex-data/vortex

Alle Issues in vortex-data/vortex

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.