You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
daanse-pivot-duckdb: update DuckDB JDBC to 2.0.x (needed to read through DuckDB's Quack protocol) #70
daanse-pivot-duckdb bundles duckdb_jdbc1.5.5. When Daanse reads a DuckDB database served
by another process through DuckDB's client-server protocol Quack (ATTACH 'quack:...' in the
session init SQL file), two 1.5.5 client limitations break it:
Remote tables with computed column defaults make ATTACH fail (duckdb-quack #132, fixed in 2.0.0).
Joins of two remote tables fail with Multiple streaming scans ... not supported (related: duckdb-quack #259). Every Daanse query joining fact and dimension hits this.
With DuckDB 2.0.0 on both ends, both work.
What we did
We replaced only the embedded jar/duckdb_jdbc-1.5.5.0.jar inside daanse.pivot.duckdb.jar
with org.duckdb:duckdb_jdbc:2.0.0.1 from Maven Central. The datasource bundle imports org.duckdb without a version range, so no rebuild was needed. With this change, a hand-written
FP&A cube (240k fact rows, 4 dimensions) answered MDX correctly through Quack.
Request
Bump the DuckDB JDBC dependency to 2.0.x for the DuckDB image. A Quack example using DAANSE_JDBC_SESSION_INIT_SQL_FILE with ATTACH 'quack:...' in the README would also help.
Note: we have not checked whether database files written by DuckDB 2.0 can be opened by the
bundled 1.5.5 driver. If they cannot, the bump also matters for direct file access.
Activity