Implementation
This handler is implemented using theduckdb
Python client library.
The DuckDB handler is currently using the
0.7.1.dev187
pre-relase version of the Python client library. In case of issues, make sure your DuckDB database is compatible with this version. See the requirements.txt
for details.database
is the name of the DuckDB database file. It can be set to:memory:
to create an in-memory database.
read_only
is a flag that specifies whether the connection is in the read-only mode. This is required if multiple processes want to access the same database file at the same time.
If you installed MindsDB locally via pip, you need to install all handler dependencies manually. To do so, go to the handler’s folder (mindsdb/integrations/handlers/duckdb_handler) and run this command:
pip install -r requirements.txt
.