Skip to content

Make dataset glob matching consistent across bindings #12302

Backlog

Description

@robert3005

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions