Quickstart

Install DuckDB

First, you need to install DuckDB first, it is pretty easy, you can check this: duckdb.

DuckDB is an in-process database system and offers client APIs for several languages: clients api overview.

The compatibility between BlockDuck and BlockDB varies across versions. Refer to the list below to identify the correct BlockDB version compatible with your chosen BlockDuck.

Version of BlockDuck
Version of DuckDB

v0.5.0

v1.1.3

v0.6.0

v1.2.0

Install BlockDuck

BlockDuck is one of available DuckDB community extensions , so we can use INSTALLand LOAD to install it easily.

INSTALL blockduck FROM community;
LOAD blockduck;

Next, we can verify whether the installation was successful by querying the version.

D select * from blockduck_version();
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ version β”‚
β”‚ varchar β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ v0.6.0  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Last updated