DuckDB Connector
KumoRFM can connect directly to DuckDB databases, automatically inferring table metadata and relationships from the schema.
Installation
The DuckDB backend requires the ADBC DuckDB driver:
Quick Start
Connect to a file-based DuckDB database:
This will:
- Connect to the DuckDB database
- Discover all non-temporary, non-internal tables automatically
- Infer column metadata (data types, semantic types, primary keys, time columns)
- Detect foreign key relationships
- Print a summary of the inferred metadata and links
Specifying Tables
Control which tables to include and customize their configuration:
Table configuration options:
Connection Options
In-memory database:
From a file path:
From an existing ADBC connection:
From a connection config dict:
Controlling Metadata Inference
Manual Edge Specification
Override automatic link detection by providing edges explicitly: