cube-js / cube-js/cube

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

Open
#9,703 10 comments 5 reactions 1 assignee Claimed by @igorlukanin View on GitHub
driver:duckdb help wanted
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 10h
Merged PRs (30d)
203

Description

**Is your feature request related to a problem? Please describe.**
DuckDB rolled out support for [DuckLake direct attach](https://github.com/duckdb/ducklake/pull/201) 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](https://github.com/cube-js/cube/issues/8955#issuecomment-2484548433) snippet, but we still need DuckDB >= 1.3.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.