Skip to content

Don't require --driver or --profile when driver can be inferred from --uri scheme #23

Closed

Description

@ianmcook

When the user specifies --uri foo://, that implies that they want the driver named foo, so we don't have to require --driver.

Activity

  1. added
    enhancement
    on Jul 2, 2026
  2. hiSandog commented on Jul 13, 2026

    @hiSandog

    Inferring the driver from the URI scheme is a good default, with explicit --driver retained as an override for aliases or compatible transports. If both are supplied and disagree, the CLI should fail with the two resolved values rather than silently choosing one. Unknown/missing schemes should list available drivers, and profile-provided URIs should pass through the same resolver so behavior does not differ by configuration source.

  3. ianmcook commented on Jul 20, 2026

    @ianmcook
    MemberAuthor

    For reference, see how Kent implemented this same thing in the JS bindings, which wraps the same Rust ADBC library that Databow wraps: apache/arrow-adbc#4537

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions