Make dataset glob matching consistent across bindings

Open
#12,302 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
java, python, rust
Domain
backend, data

Research direction

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.

Written by the indexing model from the issue text.

Description

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)

Dominant language
Rust
Stars
3.2k
Forks
239
Avg merge
1d 4h
Merged PRs (30d)
684

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vortex-data/vortex

All issues in vortex-data/vortex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.