Skip to content

Support using a pre-existing sqlx pool for postgres (and others as appropriate) #199

@derekleverenz

Description

@derekleverenz

SQLx provides database pool implementations of postgres and other dbs and is commonly used in the rust ecosystem. In the case of using datafusion-table-providers to expose postgres in datafusion, but also doing other postgres operations with sqlx, it would be ideal to have datafusion-table-providers use the same pool as the rest of the application.

It looks like it would be possible to either replace the underlying bb8 pool with a sqlx one or abstract it so that either could be used.

I'm happy to take a stab at implementing this myself but want to get feedback before I go and do the work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions