duckdb/odbc-scanner

DuckDB ODBC extension

40

stars

173

commits

C++

primary language

May 30, 2026

updated

README

DuckDB ODBC extension

Extension documentation.

ODBC functions API reference.

Building

Dependencies:

  • Python3
  • Python3-venv
  • GNU Make
  • CMake
  • unixODBC

Building is a two-step process. Firstly run:

make configure

This will ensure a Python venv is set up with DuckDB and DuckDB's test runner installed. Additionally, depending on configuration, DuckDB will be used to determine the correct platform for which you are compiling.

Then, to build the extension run:

make debug

This produces a shared library in target/debug/<shared_lib_name>. After this step, a script is run to transform the shared library into a loadable extension by appending a binary footer. The resulting extension is written to the build/debug directory.

To create optimized release binaries, simply run make release instead.

Contributors

staticlibs

147 commits

fdcastel

23 commits

maiadegraaf

2 commits

mtslaugh

1 commits

duckdb/odbc-scanner

DuckDB ODBC extension

40

stars

173

commits

C++

primary language

May 30, 2026

updated

README

DuckDB ODBC extension

Extension documentation.

ODBC functions API reference.

Building

Dependencies:

  • Python3
  • Python3-venv
  • GNU Make
  • CMake
  • unixODBC

Building is a two-step process. Firstly run:

make configure

This will ensure a Python venv is set up with DuckDB and DuckDB's test runner installed. Additionally, depending on configuration, DuckDB will be used to determine the correct platform for which you are compiling.

Then, to build the extension run:

make debug

This produces a shared library in target/debug/<shared_lib_name>. After this step, a script is run to transform the shared library into a loadable extension by appending a binary footer. The resulting extension is written to the build/debug directory.

To create optimized release binaries, simply run make release instead.

Contributors

staticlibs

147 commits

fdcastel

23 commits

maiadegraaf

2 commits

mtslaugh

1 commits

Languages

C++

58.6%

C

37.5%

Python

2.2%

CMake

1.1%