adbc

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Command adbc shows how a database, exposed through ADBC, feeds into Cosma as just another scan source. ADBC result batches are already Arrow, so the internal/ingest seam returns an array.RecordReader exactly like CSV and Parquet do, and the rest of the pipeline (DataFrame, Filter) is unchanged.

The real DuckDB ADBC driver is CGo and was not available in this module version, so this example uses an in-memory mock adbc.Database. Swapping in a real driver is a one-line change: build the driver's adbc.Database and pass it to ingest.ADBC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL