Skip to main content
Version: Next
DuckDB is an in-process OLAP database designed for fast analytical queries on local data. Supports CSV, Parquet, JSON, and many other file formats.
Installation
Required packages: duckdb-engine
Drivers
PyPI Package: duckdb-engine
duckdb:////path/to/duck.db
Supported Features
JOINsSubqueriesDynamic SchemaCatalog SupportDynamic CatalogSSH TunnelingQuery CancellationFile UploadUser ImpersonationCost EstimationSQL Validation
Feature Score: 38/201
Time Grains
Common Time Grains:
SECONDMINUTEHOURDAYWEEKMONTHQUARTERYEAR
Extended Time Grains:
FIVE_SECONDSTHIRTY_SECONDSFIVE_MINUTESTEN_MINUTESFIFTEEN_MINUTESTHIRTY_MINUTESHALF_HOURSIX_HOURSWEEK_STARTING_SUNDAYWEEK_STARTING_MONDAYWEEK_ENDING_SATURDAYWEEK_ENDING_SUNDAYQUARTER_YEAR
Troubleshooting
Common error messages you may encounter when connecting to or querying DuckDB, along with their causes and solutions.
Compatible Databases
The following databases are compatible with the DuckDB driver:
MotherDuckMotherDuck
MotherDuck is a serverless cloud analytics platform built on DuckDB, offering collaborative data sharing and cloud-native scalability.
duckdb:///md:{database}?motherduck_token={token}
Parameters:
ParameterDescription
databaseMotherDuck database name
motherduck_tokenService token from MotherDuck dashboard
Help improve this documentation by editing the engine spec: