Skip to content

Discussion: ODBC adapter driver for ADBC #4198

@metegenez

Description

@metegenez

Summary

Proposing an ODBC adapter driver for ADBC, analogous to the existing JDBC adapter (java/driver/jdbc/). This driver would wrap ODBC data sources and expose them through the ADBC interface, converting row-oriented ODBC result sets into Arrow columnar format.

Motivation

ADBC currently has a JDBC adapter, but it is Java-only and cannot be used from C/C++, Go, Python (without JNI overhead), or Rust. An ODBC adapter would complement the JDBC adapter by providing a language-agnostic, C-level bridge to any ODBC-accessible database.

Current State

  • The JDBC adapter (java/driver/jdbc/) demonstrates the wrapper pattern: JdbcDriverJdbcConnectionJdbcStatement → Arrow conversion via JdbcToArrow.
  • We already have a library that implements odbc to arrow: https://github.com/pacman82/arrow-odbc

If this is already discussed and rejected, I couldn't see a related issue.

Metadata

Metadata

Assignees

No one assigned

    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