Closed touchmarine closed 7 months ago
This PR adds an adapter for DuckDB—the SQLite for analytics.
I copied and tweaked the sqlite adapter as the duckdb cli accepts the same arguments the adapter uses.
The db#adapter#duckdb#test_file function checks for the magic bytes (DUCK) in the storage header as described in DuckDB Storage.
db#adapter#duckdb#test_file
The second commit fixes incorrect readfile() calls across the repo.
readfile()
Any update on merging this PR? It works great from what I can tell.
This PR adds an adapter for DuckDB—the SQLite for analytics.
Implementation
I copied and tweaked the sqlite adapter as the duckdb cli accepts the same arguments the adapter uses.
The
db#adapter#duckdb#test_file
function checks for the magic bytes (DUCK) in the storage header as described in DuckDB Storage.Fixes
The second commit fixes incorrect
readfile()
calls across the repo.