Page cover

How to build

Clone repo

git clone --recurse-submodules [email protected]:hatamiarash7/duckdb-netquack.git

--recurse-submodules is needed because Netquack has two submodules for DuckDB and its extension CI tools.

Managing dependencies

Currently, Netquack has only one dependency which is curl. And we use VCPKG to manage this dependency. You can run the following commands to install and enable VCPKG.

cd <your-working-dir-not-the-plugin-repo>
git clone https://github.com/Microsoft/vcpkg.git
sh ./vcpkg/scripts/bootstrap.sh -disableMetrics
export VCPKG_TOOLCHAIN_PATH=`pwd`/vcpkg/scripts/buildsystems/vcpkg.cmake

Compile

Then we can use make to build the extension:

make

The BlockDuck extension binary will be:

./build/release/extension/netquack/netquack.duckdb_extension

Tests

In Netquack, there are some sqllogictest, scenarios to make sure all functions work as expected:

Last updated

Was this helpful?