Pure Go · DuckDB Quack protocol

    The DuckDB Quack ADBC driver

    A pure-Go ADBC driver for DuckDB’s native Quack client-server protocol. Talk to a Quack server from any ADBC language, and bridge Quack data into Hardcharger, Oracle, or Db2 through the shared Arrow interface.

    Pure Go

    A from-scratch Go implementation of DuckDB's Quack client-server protocol, packaged as an ADBC driver — reachable from Python, Go, and every other ADBC language.

    Bridge to anything ADBC

    Because it is Arrow-native, a Quack server bridges directly to Hardcharger, Oracle, or Db2 through the shared ADBC interface — no custom glue.

    Arrow end to end

    Results stream as Apache Arrow record batches, so bulk reads and writes move with minimal CPU and copying — the columnar shape analytics tools want.

    One C API. Every language.

    The examples on this page are in Python, but ADBC exposes each driver as a C-compatible shared library — so the same native core works from Go, Rust, Java, C#, C/C++, JavaScript, and more. One driver, every stack.

    PythonGoRustJavaC#C / C++JavaScriptRRubyKotlin
    Learn more about Apache Arrow ADBC

    Get started

    Install the driver and connect to a DuckDB Quack server — results come back as Apache Arrow.

    1# pip install adbc-driver-quack
    2import os
    3import adbc_driver_quack.dbapi as quack
    4
    5with quack.connect(uri=os.environ["QUACK_URI"],
    6                   db_kwargs={"quack.auth.token": os.environ["QUACK_TOKEN"]}) as conn, conn.cursor() as cur:
    7    cur.execute("SELECT * FROM range(10)")
    8    print(cur.fetch_arrow_table())

    Bridge Quack to Hardcharger

    One driver’s reader is another driver’s ingest input. Move data from a Quack server into Hardcharger — or Oracle or Db2 — without collecting the full table in client memory.

    Set the connection environment variables first. HARDCHARGER_URI uses hardcharger://host:31337 with TLS; add ?tls=false only for a local development server. This example creates a new orders table; use mode="append" for an existing compatible table.

    1# pip install adbc-driver-quack adbc-driver-hardcharger
    2import os
    3import adbc_driver_quack.dbapi as quack
    4import adbc_driver_hardcharger.dbapi as hardcharger
    5
    6with quack.connect(uri=os.environ["QUACK_URI"],
    7                   db_kwargs={"quack.auth.token": os.environ["QUACK_TOKEN"]}) as src, \
    8     hardcharger.connect(
    9         uri=os.environ["HARDCHARGER_URI"],
    10         username=os.environ["HARDCHARGER_USERNAME"],
    11         password=os.environ["HARDCHARGER_PASSWORD"],
    12     ) as dst:
    13    with src.cursor() as s, dst.cursor() as d:
    14        s.execute("SELECT * FROM my_table")
    15        # Arrow batches stream directly into the destination ingest.
    16        rows = d.adbc_ingest(
    17            table_name="orders", data=s.fetch_record_batch(), mode="create"
    18        )
    19        print(f"Loaded {rows:,} rows")

    Quack ADBC driver — FAQ

    What is Quack?

    Quack is DuckDB's native client-server protocol, introduced by DuckLabs in 2026. It lets clients talk to a DuckDB server directly, complementing the embedded (in-process) DuckDB experience.

    What does the Quack ADBC driver do?

    It exposes a Quack server through the vendor-neutral ADBC API, so you can query a DuckDB Quack server from Python, Go, R, Rust, C#, C/C++, or JavaScript — and hand its Arrow results to any other ADBC driver.

    How does this relate to Hardcharger?

    Hardcharger is GizmoData’s SQL server over Chargewire, with access control, SSO, audit logging and a built-in web UI included under Apache-2.0. Quack is a separate DuckDB protocol. Their ADBC drivers let you stream Arrow batches from a Quack server into Hardcharger. Existing GizmoSQL clients continue to use Arrow Flight SQL.

    Is it free?

    Yes, the driver is open source under the MIT license. Install it with one line for every ADBC language (curl https://install.adbc.gizmodata.com/quack | sh), or with pip for Python (adbc-driver-quack).

    Ready to move your data?

    Install Hardcharger for free and use ADBC drivers to stream your first table.

    Schedule a demo!powered by Calendly