Skip to content

Idea: Provide a way for dbc to install driver resource files #509

Open

Description

@amoeba

Related to #96, a driver may require extra files such a data to operate and dbc could help manage this for the user.

The motivating example is sedondadb which requires proj which requires files as described in https://proj.org/en/stable/resource_files.html. While one method for making these resources available is to inline their binary forms into the driver shared library, it could be nice if dbc and dbc-compatible driver packages could just include these files in the driver install dir alongside the shared library. Then the driver would be responsible for loading these resources from this path.

Activity

  1. paleolimbot commented on Oct 1, 2026

    @paleolimbot

    Thanks for opening!

    adbc-drivers/sedonadb#4 is the workaround, which wasn't as bad as I thought. If the files were bigger it would not scale well since all of the bytes of all of the files are part of the driver shared object. We could also provide our own CDN or something and download them on first use (but that's what we want dbc for!)

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