Preview of a new ADBC driver for Apache Druid

An alpha release of a new ADBC driver for Apache Druid is available through dbc . Install version 0.1.0-alpha.1 with:

$ dbc install --pre druid

The driver supports SQL query execution, bind parameters, and table schema discovery. It has been tested with Apache Druid 37.0.0. See the ADBC Driver for Apache Druid documentation. This is a preview release, and more features are actively being developed, so stay tuned.

The driver was developed by the ADBC Driver Foundry and is implemented in Rust. It uses the Apache Druid SQL API and supports HTTP and HTTPS connections, HTTP Basic authentication, custom CA certificates, and Druid SQL query-context parameters.

To get started, provide a connection URI with a druid:// scheme:

druid://localhost:8888?tls=false

The driver can then be used like any other driver. For example, load it in Python with adbc-driver-manager:

from adbc_driver_manager import dbapi

connection = dbapi.connect(
    driver="druid",
    db_kwargs={"uri": "druid://localhost:8888?tls=false"},
)
cursor = connection.cursor()
cursor.execute("SELECT * FROM my_table")
table = cursor.fetch_arrow_table()

Bug reports and feature requests are welcome through GitHub Issues in the druid repository in the ADBC Driver Foundry. You can also start a Discussion on GitHub or join the Columnar Community Slack .