cube-js/cube

Upgrade the DuckDB driver to 1.5.2+ (@duckdb/node-api) to support DuckLake

Open

#9,703 opened on Jun 24, 2025

 (10 comments) (4 reactions) (1 assignee)Rust (1,965 forks)batch import
driver:duckdbhelp wanted

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (Avg merge 5d 16h) (138 merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe. DuckDB rolled out support for DuckLake direct attach in 1.3.1. This means that specifying "ducklake:path/to/metadata.sqlite" or "ducklake:postgresql://" as CUBEJS_DB_DUCKDB_DATABASE_PATH should be enough to make Cube access a DuckLake's catalog and parquet files, if the other CUBEJS_DB_DUCKDB_S3* variables are set.

Describe the solution you'd like Bump DuckDB version from 1.2.1 to 1.3.1 (#9699)

Describe alternatives you've considered We can configure the DuckLake connection through a custom initSql snippet, but we still need DuckDB >= 1.3.0

Contributor guide