Skip to content

javascript: allow creating AdbcDatabase without driver if driver is otherwise specified #4533

Closed

Description

@ianmcook

What feature or improvement would you like to see?

AdbcDatabase throws Error: Missing field `driver` if you don't pass driver. But with connection profiles, you shouldn't need to pass driver so long as either (a) you pass profile and the profile specifies the driver, or (b) you pass uri with a URI whose scheme identifies the driver.

Activity

  1. added this to the ADBC Libraries 24 milestone on Jul 16, 2026
  2. added
    Type: enhancement
    on Jul 16, 2026
  3. ianmcook commented on Jul 16, 2026

    @ianmcook
    MemberAuthor

    N.B. it's possible to work around this as follows, by passing the URI with the scheme as driver:

    import { AdbcDatabase } from '@apache-arrow/adbc-driver-manager';
    
    const db = new AdbcDatabase({
      driver: 'profile://foo',
    });

    But this is less than ideal.

  4. kentkwu commented on Jul 16, 2026

    @kentkwu
    Contributor

    take

  5. added a commit that references this issue on Jul 19, 2026
    3e7f035
  6. added a commit that references this issue on Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions